MagickSetImageType does not set the ImageType

MagickWand for PHP is an object-oriented PHP interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning MagickWand for PHP.
Posts: 5
Joined: 2007-01-17T01:54:24-07:00
Location: Munich, Germany

MagickSetImageType does not set the ImageType

Post by dreeh »

i've a png with transparency.

in my script, i'm using MagickTransformImage and next

Code: Select all

MagickSetImageType($obj, 5);
but if i check the imagetype again, it's still 7.

where is the problem? has anyone an idea?

linux, imagemagick-, magickwand-1.0.7, php-5.2.6 (all self compiled, no downloaded binaries)