issue with raw to jpg convert
Posted: 2012-01-24T01:42:39-07:00
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
"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