Converting to 24 bits

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
jpiquemal
Posts: 54
Joined: 2003-12-07T01:57:19-07:00

Converting to 24 bits

Post by jpiquemal »

Hello
How can i convert a 1-bit BMP to a 24-bit JPEG ?
(IM v 6.5.7 - 8bit)
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Converting to 24 bits

Post by fmw42 »

not sure what you gain by that as it still will be only white and black, but try

convert image.bmp -depth 8 -type truecolor image.jpg
jpiquemal
Posts: 54
Joined: 2003-12-07T01:57:19-07:00

Re: Converting to 24 bits

Post by jpiquemal »

thank you.
it works fine without -depth 8 too.
Post Reply