Code: Select all
convert source.png -resize 50% result.png
but actually appears to be corrupted when opened in PhotoShop:
However if I specify PNG32, the result is correct:
Code: Select all
convert source.png -resize 50% PNG32:result32.png
identify says:
source.png PNG 96x96 96x96+0+0 8-bit DirectClass 754B 0.000u 0:00.000
result.png PNG 48x48 48x48+0+0 8-bit PseudoClass 110c 1.13KB 0.000u 0:00.000
result32.png PNG 48x48 48x48+0+0 8-bit DirectClass 1.01KB 0.000u 0:00.000
ImageMagick 6.7.5-6 2012-02-16 Q8, Mac OSX 10.7.3, built using libpng 1.5.8