Plisgyn wrote:
I found out why I was confused about convert I somehow managed to change bmp to png
files with the same file size. My program which wouldn't read bmp files now read them o/k
, I now realise that I somehow must have just changed the file type from bmp to png and
not reformatted the file. I now rephrase the question how can you change the compression
ratio when converting to png?.
Use the -quality option. The parameter for this option has two digits.
The first digit is the "deflate" level, 1 being the fastest and 9 giving
the highest compression. The second digit is the PNG filter. Good
choices are -quality 90 for drawings and -quality 95 for photos. For
high compression speed, use 20. Regardless of the quality setting,
you will get identical images.