Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Loading 16 bits per channel Tiff files
Re: Loading 16 bits per channel Tiff files [message #30466 is a reply to message #30464] |
Sun, 02 January 2011 23:42 |
|
Hi Tim
It is a general property of libtiff that it returns 8bit samples. Also, the whole U++ interface uses 8bits per color, so it would be difficult to fit it in.
According to this mailing list however, you can access the 16bit values using other APIs such as TIFFReadScanline, TIFFReadEncodedStrip or TIFFReadTile. Those should be available in U++ in plugin/tif you will probably just have to include some additional header or declare the functions in your code. There are some relevant examples at http://www.libtiff.org/libtiff.html that look quite promising.
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Wed May 15 18:38:51 CEST 2024
Total time taken to generate the page: 0.03252 seconds
|