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. -- Chris Christoph P. U. Kukulies kuku_at_kukulies.org On Wed, Jun 14, 2006 at 01:11:23PM +0200, Christoph P. Kukulies wrote: > On Wed, Jun 14, 2006 at 03:17:51PM +1000, Anthony Thyssen wrote: > > "Christoph P. Kukulies" on wrote... > > | I'm trying to convert a 32 bit GIF to a 24bit BMP file using > > | convert. But somehow I fail. > > | > > | doing a > > | convert file.GIF file.BMP > > | > > | give a 32 bit BMP file > > | > > | convert -colors 16777216 file.bmp out.bmp > > | > > | still gives a 32 bit BMP file. > > | > > 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 > > > G:\>convert --version > Version: ImageMagick 6.2.7 04/14/06 Q16 http://www.imagemagick.org > Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC > _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
