Hugemann on  wrote...
| > If you want the alpha channel to contain the luMinosity  yes.
| > make sure of your spelling ;-)
| > 
| > You should also be able convert a 'clone' of the image to HSL format
| > (-colorspace HSL) and extract the "Luminosity" channel of the image.
| 
| I tried to generate an alpha channel for my PNG but was only partially 
| sucessful. Finally, I came back to my original plan - I wanted to 
| overlay a black and white logo on JPEGs - and succeeded with
| 
| convert -density 171 logo.eps logo.png
| composite logo.png photo.jpg -compose bumpmap -gravity southeast result.jpg
| 
| Proceeding such, the white parts of the logo become totally transparent 
| while the darker parts overlay the photograph. I took this trick from 
| Anthony's webpage:
| http://www.cit.gu.edu.au/~anthony/graphics/imagick6/annotating/#overlay
| 
| I also found his -density trick for vector graphics on his webpage:
| http://www.cit.gu.edu.au/~anthony/graphics/imagick6/formats/#vector
| 
You can merge these command using...

   convert -density 171 logo.eps photo.jpg +swap \
           -compose bumpmap -gravity southeast -composite   result.jpg

  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
   Vorlons ask, "Who are you?"
   Shadows ask, "What do you want?"
   So I ask you -- Who are you? -- What do you want?       -- Babylon 5
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to