.raw Frame File Convert or Display

Just have a drink and chat
jfm63gm
New Cone
New Cone
Posts: 2
Joined: 17 May 2012 23:48

.raw Frame File Convert or Display

Postby jfm63gm » 18 May 2012 00:07

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:

jfm63gm
New Cone
New Cone
Posts: 2
Joined: 17 May 2012 23:48

Re: .raw Frame File Convert or Display

Postby jfm63gm » 21 May 2012 17:55

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


Return to “Coffee Corner”

Who is online

Users browsing this forum: No registered users and 33 guests