Hugemann on  wrote...
|  >   convert -density 200 logo.svg  logo.png
| 
| That's it, thank you. As far as I can see, the conversion from vector 
| EPS gives much better results than using SVG as a starting point.
| 
| You are right in regard to the lack of an alpha channel in GIF pictures, 
| PNG is the preferable format. However, I don't see how I generate an 
| alpha channel and set it to the luminance level, for instance.
| 
| Using the command line above without a color option gives an 48bit RGB 
| image as far as I see. I will probably have to use some '-colorspace' 
| option (?).
| 
| If I would have an alpha channel, I would set it with:
| 
| convert Logo.png -channel Alpha -fx 'luninosity' Alpha.png
| 
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.

Please let us know what works and want doesn't.

  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
   No one ever listens to Zatheris. "Quite Mad!", thay say. It is good
   the Zatheris does not mind.  He has even grown to like it.  Oh yes!
                    -- Zatheris's Mumbling,  Bablyon 5, "War Without End"
 -----------------------------------------------------------------------------
     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