[magick-users] Composing Tif-files

Fred Weinhaus fmw at alink.net
Wed Jul 16 09:58:23 PDT 2008


To use transparency, you probably need to convert to png


convert image1.tif -fill cyan -opaque black image1_cyan.png
convert image2.tif -fill magenta -opaque black -transparent white 
image2_magenta.png
convert image3.tif -fill yellow -opaque black -transparent white 
image3_yellow.png
convert image4.tif -transparent white image4_transparent.png



>Hi,
>
>I have four Tif-Files in colorspace gray with channel-depth 1-bit.
>
>I want to compose those images over each other like this:
>
>First image colorized black to cyan.
>Second image colorized black to magenta and white as transparent
>Third image colorized black to yellow and white as transparent
>Fourth image with withe as transparent
>
>I got it to work to colorize using for example:
>
>convert example.tif -fill cyan -opaque black cyan.tif
>
>But I do not get it to work together. Is anybody out there who knows how
>this works?
>
>Thanks in advance
>
>Gerhard


More information about the Magick-users mailing list