Does anyone know of any image converters that can convert a 48bit (16 bit per channel - with 3 channels) SGI image from run length encoded to uncompressed SGI 48bit (16 bit per channel) format.
I've looked up the specification for the file format, the RLE version, and know how to read in the header, the table of offsets and lengths but in each of the descriptions I've found on the internet of the file format the code I've seen showing how they perform their run length encoding references variables with non descriptive names "iptr, optr" along with a few other tricks I cannot follow the method and so am looking for an image converter to convert the image to the uncompressed version.
Most of the converters I have found only import SGI files or they are not a command line version (which I need as if I preview/view the image in 48bit format it seems to do funny things to my screen in some image viewers as my screen bit depth is 32bits).
Reasoning behind this is that I would like to generate a depth map using 16bit per channel greyscale. An artist working with me uses 3dsMAX which can export images like that, I just need to find a way to get at the image rgb data without needing to view the image.
(and I call myself a programmer...can't even work out how to go from RLE -> Uncompressed format)....
EDIT - we either need the ability to write longer thread titles or I need to learn to be succinct.
I've looked up the specification for the file format, the RLE version, and know how to read in the header, the table of offsets and lengths but in each of the descriptions I've found on the internet of the file format the code I've seen showing how they perform their run length encoding references variables with non descriptive names "iptr, optr" along with a few other tricks I cannot follow the method and so am looking for an image converter to convert the image to the uncompressed version.
Most of the converters I have found only import SGI files or they are not a command line version (which I need as if I preview/view the image in 48bit format it seems to do funny things to my screen in some image viewers as my screen bit depth is 32bits).
Reasoning behind this is that I would like to generate a depth map using 16bit per channel greyscale. An artist working with me uses 3dsMAX which can export images like that, I just need to find a way to get at the image rgb data without needing to view the image.
(and I call myself a programmer...can't even work out how to go from RLE -> Uncompressed format)....
EDIT - we either need the ability to write longer thread titles or I need to learn to be succinct.