"Christoph P. Kukulies" on  wrote...
| > Anthony Thyssen wrote...
| > > As you are wanting a 24 bit image, rather than 32 bit I assume thn that
| > > the BMP image will conatin no transparency.  As such try removing the
| > > transparent, or matte cannel from image...
| > > 
| > >   convert file.GIF  +matte  file.BMP
| > > 
| > > That should be 24 bit.
| > 
| > It does not seem to work. file.BMP is still 32 bit
| > 
| I finally solved it this way:
| 
| convert file.GIF file.BMP
| convert file.BMP +matte file.BMP
| 
| The second step makes it from 32 bits/pixel to 24 bits/pixel.
| 
| Would be nice to have it in one step though.
| 
The problem was probably a result o fthe wahy IM tries to preverve the
special 'alpha color' attribute of the GIF image.
(Do a verbose identify of the GIF image to see it)

The GIF image may have no transparency, but the 'alpha color' attribute
is by its defination, transparent, so the image has a transpareny index.

This could be regarded as a bug in IM, and as at the moment there are
no direct command line controls for this image attribute.

I have proposed a -set option be added for this but I don't know the
results or how to make use of it, if already added.  Such a setting
should be able to not only set the 'alpha color' attribute, but remove
it too (prehaps with +set).

Christy:  Can -set be used to handle 'alpha color' yet?  If so what is
the setting 'label' that should be used?


  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
    In theory there is no difference between theory and practice.
                        In practice there is.
 -----------------------------------------------------------------------------
     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