Re: Regression: "convert image.png -type Palette image2.png" does not preserve transparency
"Thue Janus Kristensen" <[email protected]>
| Newsgroups | gmane.comp.video.image-magick.bugs |
|---|---|
| Message-ID | <[email protected]> |
The file generated by the latest version of imagemagick has a color type of 6 in the header (truecolor & alpha according to wikipedia). The old version of ImageMagick generated a file with a color type of 3 (indexed according to wikipedia). According to Wikipedia it should be possible to create png images with color type 3 and transparency. Regards, Thue On Fri, May 2, 2008 at 4:53 PM, Thue Janus Kristensen <[email protected]> wrote: > Thanks for the suggestion :). > > That does generate a file with correct transparency. > > But the program I am trying to use (ezpdf), which needs the palette > image as input, refuses to accept the generated image. It only accepts > palette images with transparency, like the ones generated by the old > version of imagemagick. > > If your suggestion a workaround, and the bug real, or was the old > functionality a mistake? > > Regards, Thue > > > > On Fri, May 2, 2008 at 4:31 PM, > <[email protected]> wrote: > > > Convert does not preserve transparency when using a command such as > > > > Try > > > > convert image.png -type PaletteMatte image2.png > > >