Re: [gdal-dev] 8 bit or 24 bit

2009-05-31 Thread Frank Warmerdam
jor sion wrote: Hi, How to judge an image in hdf files is 8 bit or 24 bit? Jor, Check the number of bands with GDALDataset::GetRasterCount(). If this is three, then it is likely what you call 24bit,and if it is 1 then it is likely 8bit. Best regards, --

[gdal-dev] 8 bit or 24 bit

2009-05-30 Thread jor sion
Hi, How to judge an image in hdf files is 8 bit or 24 bit? -- JoSn ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev