hiller on  wrote...
| 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?
|
Use Parenthesis to work on an image seperateally before adding it to the
main image sequnece..  See IM Examples, basics, Parenthesis
   http://imagemagick.org/Usage/basics/#image_seq

Also as white will always be transparent, you can make that a global
operation before flattening.

For example...
  convert \( first.tif  -fill cyan -opaque black \) \
          \( second.tif -fill magenta -opaque black \) \
          \( third.tif  -fill yellow -opaque black \) \
          \( fourth.tif \) \
          -transparent white -background none -flatten  result.png

  Anthony Thyssen ( Graphics Enthusiast )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
  At 300 dpi you can tell she's wearing a swimsuit.
  At 600 dpi you can tell it's wet.
  At 1200 dpi you can tell it's painted on.
  I suppose at 2400 dpi you can tell if the paint is giving her a rash.
                                                      -- Joshua R. Poulson
 -----------------------------------------------------------------------------
         IM Examples               http://www.imagemagick.org/Usage/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to