Convert bmp to jpeg
Posted: 2009-06-09T00:07:48-07:00
Hi, I am new at ImageMagicK.
I am trying to convert bmp file to jpeg using command line utility.
I am using following commnad for the same.
convert "test.bmp" -resize 1024x768 -density 72 -depth 24 -Quality 72 "test.jpeg"
It results in test.jpeg but in complete black color.
Here are the details of test.bmp
Width: 1280 pixels
height: 1024 pixels
Horizontal resolution: 96 dpi
Vertical resolution: 96 dpi
Bit depth: 32
Frame count: 1
If I removed the "resize" option or provide with exactly same as bmp then it works fine.
Please let me know what is wrong in this conversion?
Thanks.
I am trying to convert bmp file to jpeg using command line utility.
I am using following commnad for the same.
convert "test.bmp" -resize 1024x768 -density 72 -depth 24 -Quality 72 "test.jpeg"
It results in test.jpeg but in complete black color.
Here are the details of test.bmp
Width: 1280 pixels
height: 1024 pixels
Horizontal resolution: 96 dpi
Vertical resolution: 96 dpi
Bit depth: 32
Frame count: 1
If I removed the "resize" option or provide with exactly same as bmp then it works fine.
Please let me know what is wrong in this conversion?
Thanks.