2005.02.15 07:16 "[Tiff] Regarding the decoding of RGB TIFF images.", by Chinku Miandad M

2005.02.15 09:19 "Re: [Tiff] Regarding the decoding of RGB TIFF images.", by Joris Van Damme

Chinku,

This means that the image data is stored in the chunky format, i.e. RGB RGB RGB RGB RGB.............right????

That's right.

But I am not able to get the decoded image properly. I am sure that I am reading the correct values from the file. is there any necessity of some kind of swapping????

Perhaps a description of what you are incorrectly getting might help. Access violation? Weird data? R-B swapped data? Some corrupted lines?

I am getting the correct decoded image in the case of little endian files having the same properties. What could be the reason???

And a code snippet might also help us to spot the problem.

Would you be using the TIFF file format if a) your neighbour wasn't able to read it properly and b) on top of that, wasted 10 bytes or so for every 8bit color value? This is exactly the situation with the HTML mail you post. Its format is horrible, it doesn't work very well for everyone, and it's this incredibly bloat. A plain text version is an included MIME part, but that part is **different** from the HTML part, in that it contains doubled newlines. Please post only plain text messages to mailing lists.

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html