2012.01.04 15:02 "Re: [Tiff] reading rgb values from 16 bits tif images", by Martin Alegre
Thanks for your suggestions on the high-level libraries. At the beginning, I was thniking to use Magick++ for my application, but it seemed to me that it was going to be more faster to integrate the libtiff library into my code, also due to time constraints. If you have any illustrations on how to use libtiff for 16bits images, it will be great or if you also have some good webpointers where I could get more information? I found a very illustrative webpage on how to use libtiff ( http://bitmiracle.com/libtiff/help/samples.aspx), but it was mainly for C#, and I'm currently working with C++.
On Wed, Jan 4, 2012 at 3:42 PM, Bob Friesenhahn < firstname.lastname@example.org> wrote:
Besides that, does the LibTiff library supports now 32-bits images?
TIFF is a very flexible format and libtiff exposes most of its flexibility to you. By using the lower-level interfaces, you can use 32-bits integer, or 16/24/32/64 bits float images. As long as you are prepared to encode/decode the pixels, you could use completely arbitrary integer depths.
Unless your requirements are very specific or you have substantial time available to develop your software, you may be better off using a higher-level library which takes care of the lower-level TIFF details for you.
One possibility is my Magick++ C++ library, included in GraphicsMagick. Links to other useful libraries (e.g. VIPS, VIGRA, FreeImage, OpenImageIO) are included in the "Other Software Packages" section of the GraphicsMagick links page:
> email@example.com, http://www.simplesystems.org/** > users/bfriesen/ <http://www.simplesystems.org/users/bfriesen/>
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/