[magick-users] -transparent on a range

Anthony Thyssen anthony at griffith.edu.au
Tue Apr 10 18:31:40 PDT 2007


"Christoph P. Kukulies" on  wrote...
| When making a gif transparent, e.g. 
| 
| mogrify -transparent white image.gif
| 
| it would be sometimes desirable to specify a range for the rgb-value
| to be take for transparency. E.g. you have a jpg which has some interpolation
| in the white areas so that #fefeff and #ffffff are there but should be counted 
| being white. Is there such as an option?
| 
-transparent replaces a colro with transparency...
-transparent-color
   specifies the color to use to represent transparency in the saved image.

Note you can specify the same color to be both an opaque (visible) color
as well as the transparent color

See IM examples, GIF file formats, GIF Transparency Color
   http://www.imagemagick.org/Usage/formats/#gif_trans

  Anthony Thyssen ( System Programmer )    <A.Thyssen at griffith.edu.au>
 -----------------------------------------------------------------------------
   Dragons do not have much use for paper... particularly paper money.
   Flammable currency is not our idea of a sound investment for a society.
                                    --- Robert Asprin, "M.Y.T.H. Inc. Link"
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/


More information about the Magick-users mailing list