AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
January 1997

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

1997.01.07 11:41 "Efficient load of a small part of an image?", by Filip Larsen
1997.01.07 13:27 "Re: Efficient load of a small part of an image?", by Rainer Wiesenfarth
1997.01.07 18:02 "Re: Efficient load of a small part of an image?", by Daniel Mccoy

1997.01.07 13:27 "Re: Efficient load of a small part of an image?", by Rainer Wiesenfarth

On 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