| 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 |
Thread2005.06.22 13:18 "Re: API needed", by Frank WarmerdamOn 6/22/05, katrina maramba <ka3na_423@yahoo.com> wrote: > > Is there an API available in LIbtiff that supports the following: > > Input - can be smaller than strips/tiles (an incomplete strip or tile) > for example: a data of 8Kb from a image of 50Kb which has 5 > strips of 10Kb each. > > Output - raster of RGB data, size depends on the input's size Katrina, I believe the only libtiff functions for reading image chunks smaller than a tile/strip is the scanline oriented interface. Generally speaking you would need to manage the tiles/strips yourself to extract an arbitrary subwindow. Many higher level imaging APIs using libtiff will take care of this for you, including my geospatially oriented GDAL library. http://www.gdal.org/ I would be the first to conceed that the libtiff API is very closely tied to the TIFF organization itself, and does not provide a very abstract interface to the underlying image data. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent |
|||||||