I'm using convert.exe to convert my jpg into a bmp with the following command:
convert 1.jpg 1.bmp
This works, however I have a custom application that can't read the new bmp file. I open the bmp in Windows Paint, click save and close paint. After doing this, my application can read the file. Is there something I'm missing in the imageMagik that would fix this?
Thanks
Kevin
jpg to bmp
Re: jpg to bmp
This may help:
bmp:format=value
valid values are bmp2, bmp3, and bmp4. This option can be useful when the method of prepending "BMP2:" to the output filename is inconvenient or is not available, such as when using the mogrify utility.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: jpg to bmp
As bonzo suggests, your other tool needs an older bmp format. So try
or
see http://www.imagemagick.org/Usage/formats/#bmp
Code: Select all
convert 1.jpg BMP3:1.bmp
Code: Select all
convert 1.jpg BMP2:1.bmp
see http://www.imagemagick.org/Usage/formats/#bmp
Re: jpg to bmp
Awesome! Thanks guys, ended up being BMP3
THanks again!!!
THanks again!!!