how can convert .raw to .jpeg or another format ?
Posted: 2018-03-30T19:56:57-07:00
hi all ,
I want to convert the images in AR dataset from .raw to .jpeg format
This is dataset http://www2.ece.ohio-state.edu/~aleix/ARdatabase.html
When I use this code :
convert -size 768X576 -depth 8 rgb:m-001-1.raw m-001-1.jpeg
the conversion is successful but the image is 768X576 and there are 6 sub-images (all identical) within this image. it suppose contains only one RGB image
images in AR dataset are 24 bit depth, but when I replace the 8 with the 24, the
conversion fails.
please what is the right command ?
also I want to convert all images in directory in one command , how can I ?
thanks ,
I want to convert the images in AR dataset from .raw to .jpeg format
This is dataset http://www2.ece.ohio-state.edu/~aleix/ARdatabase.html
When I use this code :
convert -size 768X576 -depth 8 rgb:m-001-1.raw m-001-1.jpeg
the conversion is successful but the image is 768X576 and there are 6 sub-images (all identical) within this image. it suppose contains only one RGB image
images in AR dataset are 24 bit depth, but when I replace the 8 with the 24, the
conversion fails.
please what is the right command ?
also I want to convert all images in directory in one command , how can I ?
thanks ,