Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

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

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Painter bug?
Next Topic: RGBA and ImageBuffer classes improve
Goto Forum:
  


Current Time: Wed May 15 18:38:51 CEST 2024

Total time taken to generate the page: 0.03252 seconds