Page 1 of 1

.raw Frame File Convert or Display

Posted: 18 May 2012 00:07
by jfm63gm
I am a tester and a developer I work with has written .raw file, which I beleive to be a frame of a known (height and width) size.
How do I convert this .raw file to a common image format ? (.tif etc)
Or run an unknow program that displays the contents?
:cry:

Re: .raw Frame File Convert or Display

Posted: 21 May 2012 17:55
by jfm63gm
Found a solution that assumes the user knows the imagedump, depth and size
convert -depth 8 -size 12550x12550 gray:imagedump.raw raw.jpg
Variations are:
convert -depth 8 -size 12550x12550 rgb:imagedump.raw raw.tif
convert -depth 8 -size 12550x12550 rgb:imagedump.raw raw.jpg
... all the other supported formats
Special Thanks PixiaDev
:D