Re: [Gimp-user] Can't open extremely large .PNG



On Sat, 2016-10-15 at 12:49 +0200, Deixis wrote:
 
C:\Program Files\ImageMagick-7.0.3-Q16>magick identify 1.png
1.png PNG 327168x325632 327168x325632+0+0 8-bit sRGB 1.0255GB 0.000u
0:00.000

OK, so this will need approx. 400 gigabytes of swap space, maybe as
much as twice that.

If you want to try working with it, you should get a spare 1T or 2T
hard drive.

In the netbpm tools the pamscale program reads a single raster row at a
time, so it can probably handle your image. You'd need to use something
like (in the command line, netpbm does not have a GUI)

pngtopnm -byrow thefile.png | pamscale -reduce 1024 -linear | pnmtopng
smallfile.png

https://sourceforge.net/projects/netpbm/
(make sure you get a 64-bit version though)

But it would be better to regenerate the image!

Liam




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]