TIFF is one type of data that I need to read in. Some of the RGB images
are pixel interleaved while others are planar (non-interleaved). I was
intending to use the GDALDataset::RasterIO function to read in my data, as
I only need a buffer containing the entire image exactly as it exists on
disk. If I'm going to use GDALDataset::RasterIO, I need to know the
offset between bands (it's the last parameter to the function). That
value is going to be different depending on whether or not the bands are
interleaved. If I was using libtiff, I could get the TIFF_TAG that told
me how the data was organized, but how can I get that information with
GDAL so I know how to fill in that last parameter to GDALDataset::RasterIO
correctly?
Or... is there a better way to do this altogether?
Thanks,
Todd
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev