Search found 2 matches

by dlang
Mon Jul 28, 2014 1:13 pm
Forum: NConvert
Topic: copy png to png expands palette
Replies: 7
Views: 3241

Re: copy png to png expands palette

Using -colors <numColors> is not practical when I am converting a bunch of images using a DOS "for" loop command.

for %f in (*.png) do nconvert -o out\%f %f

I also do not know the number of color used in each image.
I only determined that nconvert was expanding the palette because some of my ...
by dlang
Fri Jul 25, 2014 5:21 pm
Forum: NConvert
Topic: copy png to png expands palette
Replies: 7
Views: 3241

copy png to png expands palette

If you copy an 8bit png which uses only a few colors, say 10 and copy using "ncvonert -o new.png old.png", your new image has a palette of 256 colors expanding the size of the image (bytes on disk, not image dimension). The size of the image is critical since I am placing them in an Android apk ...