Re: anyone knows how to read/decode CAF image




<tangfrch@xxxxxxxxx> wrote in message
news:e12ccedb-d8c1-4217-9a15-459ee4aaf5f8@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
An company called DXO offered this kind of data.

Yes, DXO.COM appears to be in France. Their website seems to be almost
entirely in PDF ... weird.

Anyway ... assuming that this a raw format, I'd start with opening the file
in a binary reader app (eg Visual Studio) that displays bytes in HEX. I'd
expect there to be a header or some sort where there may be some
identifyable values like #lines, #pixels. There may even be some text.

Image data in hex often looks more random than header bytes, so you may be
able to guess where the data starts ie the offset from the start of the
file.
There may be CR or CR-LF or NULL characters at the end of each line. Get or
code a reader that allows you to specify the start point (offset) and guess
the number of bytes per line. Read this into a bitmap structure eg BMP
format that can be displayed. You'll get SOMETHING, and will usually see
some sort of structure in the data.

Its then a relatively easy (simple if tedious) process to adjust (make
semi-educated guesses) the offset and line length to get a visually sensible
image.

Or the whole thing might blow up in your face...

Have you tried asking DXO for the format details?
--
regards,
Stewart DIBBS
==========================================
PiXCL 8: The Advanced Image Analysis Suite
is affordable and available now.
==========================================
www.pixcl.com


.


Quantcast