| 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 |
Thread1997.01.07 13:27 "Re: Efficient load of a small part of an image?", by Rainer WiesenfarthOn Jan 7, 12:41, Filip Larsen wrote:
> Subject: Efficient load of a small part of an image?
[ Hi there, I'm new to this list.
[
[ I was wondering if there is a simple, yet efficient way of loading only
[ a small rectangular part of a TIFF image using libtiff?
[
You do not have to read the whole image, but can use the functions
TIFFRead{Raw,Encoded}{Tile,Strip}
They only read a part of the image. The disadvantage of these functions is
that you have to take care about PlanarConfig, BitsPerSample,
PhotometricInterpretation and some other stuff. But the routines deal
with low level I/O, byteorder, Compression, and SamplesPerPixel.
Greetings Rainer
[ [...]
[
[ Best regards,
[ --
[ --------------------------------------------------------------
[ Filip Larsen, M.Sc.(Eng.), Computer and Computational Science
[ mailto:filip@datashopper.dk http://chaos.fys.dtu.dk/~filip
[ --------------------------------------------------------------
[ --- End of excerpt from Filip Larsen ---
--
| This mail came from:
| Rainer Wiesenfarth Tel: +49 7364 203321
| c/o Carl Zeiss, Div. Phm-A Fax: +49 7364 202829
| 73446 Oberkochen e-mail: Wiesenfarth@zeiss.de
| Germany
|
|||||||