[GRASSLIST:5063] Re: one bit deep PNGs

Dan Jacobson jidanni at jidanni.org
Mon Dec 6 16:28:05 EST 2004


Thanks.  pnmquant has some magic number problem. However I succeeded
in debloating my already black and white PNG file with
$ file ...; ls ...
map.png: PNG image data, 640 x 480, 8-bit colormap, non-interlaced
-rw-r--r--  1 5510 2004-12-05 13:25 map.png
$ pngtopnm map.png|pnmcrop|pnmtopng > file_1bit.png
file_1bit.png: PNG image data, 635 x 395, 1-bit colormap, non-interlaced
-rw-r--r--  1 2848 2004-12-07 05:22 file_1bit.png




More information about the grass-user mailing list