AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
February 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.02.15 07:46 "Regarding the decoding of RGB TIFF images.", by Noida Chinku Miandad M
2005.02.15 09:19 "Re: Regarding the decoding of RGB TIFF images.", by Joris Van Damme
2005.02.15 16:10 "Regarding the decoding of uncompressed Big Endian RGB TIFF files.", by Noida Chinku Miandad M
2005.02.15 16:57 "Re: Regarding the decoding of uncompressed Big Endian RGB TIFFfiles.", by Joris Van Damme

2005.02.15 16:10 "Regarding the decoding of uncompressed Big Endian RGB TIFF files.", by Noida Chinku Miandad M

Hi,

I am facing some problem in the decoding of uncompressed big endian
RGB TIFF images. I am doing the testing with a particular file.

I found that in the file the value of the "SamplesPerPixel" tag is 3. Also
the value of the "BitsPerSample" tag is 8, 8, 8 . Also the value of the
"Planar configuration" tag is one which means that the image data is present
in the chunky format. i.e. RGBRGBRGBRGBRGB..........

But I am not getting the proper image after decoding.

The decoded image appears like a grayscale one. Also colored lines are
appearing above the image. It seems like the image lines are getting
corrupted slightly. 

Do I need to do some swapping in the RGB data that I read from the image
file? I am asking this since the file is of a big endian type.  

I think I am getting the luminance component correct. But it seems like
there is some problems with the chrominance components since I am not
getting the proper color.

The same method is working fine with little endian RGB files. 

Please give some comments on the same. 

Any help will be deeply appreciated.  

with regards,
 
Chinku Miandad M
Member Technical Staff
HCL technologies
A-5, Sector 24
Noida, Uttar Pradesh - 201301
http://www.hcltechnologies.com
Office Phone: +91-120-2411502, Ext.: 2341
mobile - 9871340518