| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2002.02.03 23:41 "Re: Working w 16-bit per channel RGB tiffs", by Michael StillOn Tue, 29 Jan 2002, Josh Anon wrote: > I'm sorry if this is a basic question, but I haven't been able to find > an answer for it. I have a 16-bit per channel tif from a digital > camera. I can open it w/ libtiff, but I'm not sure about how to access > the values for each pixel (as either a 16-bit/channel or 8-bit/channel > sample) using libtiff. I have my own bit of code which will convert a > 48-bit RGB sample to a 32-bit RGBA packed pixel, but I'm not sure where > to plug it in. What I'm trying to do is to then read out the 8-bit per > channel image and display it in an app. I use TIFFReadRGBAImage(), and then calls to TIFFGet[RGB](). Note that these functions return the _bottom_ row of the image as the first, instead of the top. Let me know if you need more help. Mikal -- Michael Still (mikal@stillhq.com) UMT+11hrs |
|||||||