[magick-users] problems resizing transparent png images

Fang Zhu julie.zhufang at gmail.com
Fri Jul 13 09:25:07 PDT 2007


I am try to resize images to smaller ones with height of 30. But I have the
following problems:

1. the command below works fine with IM ImageMagick-6.3.3-10-Q16 but not
ImageMagick-6.3.4-10-Q16 - the transparency is lost, and the background
becomes black.

convert in.png -resize x30 -type palette -depth 8 out.png


2. with ImageMagick-6.3.4-10-Q16 the command below can keep the
transparency, but the lines in the output image are distorted.

convert in.png -resize x30  PNG8:out_png8.png

The images are attached to this message. Anyone can help me fix the problem?

Thanks a lot,
Julie


More information about the Magick-users mailing list