Set tiff:alpha=associated

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
btam

Set tiff:alpha=associated

Post by btam »

I tried to remove the alpha channel of a tiff image with the following command:

convert -define tiff:alpha=associated image.tiff new_image.tiff


I have test it in 2 different versions:
ImageMagick 6.6.2-7 and ImageMagick6.2.8.

This tag only works in 6.6.2-7.

Does anyone know which is the least version to work with this option?

Thanks
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Set tiff:alpha=associated

Post by magick »

Add -alpha off to your command line to remove the alpha channel.
btam

Re: Set tiff:alpha=associated

Post by btam »

if I add -alpha off, my transparent background will appear to be white color.

i need to preserve the transparency but not to have alpha channel.
This can be done by -define tiff:alpha=associated
But i would like to know which is the oldest version support this tag setting??
Post Reply