issue with raw to jpg convert

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
shriharsh.datar
Posts: 1
Joined: 2012-01-24T01:36:44-07:00
Authentication code: 8675308

issue with raw to jpg convert

Post by shriharsh.datar »

Convert from raw 16bit grayscale to bmp works fine with the following command line
"convert -size 480x400 -depth 16 -endian lsb gray:shri.raw shri.bmp"

But when i convert to jpg with following command then i observe the issue of header missing.
"convert -size 480x400 -depth 16 -endian lsb gray:shri.raw shri.jpg"

Few of the image viewers are able to open this jpg image.

Can you help me understand why do i face this issue of header missing. Am i missing any input argument that needs to be specified for this conversion??

Regards,
Shriharsh
Post Reply