Hi all,

I'm wodering whether it's possible to compute a proper
System.Drawing.PixelFormat out of GDAL Dataset. I'm also aware of existing
C# examples, but they won't allow for pinpointing specific PixelFormats.
Please see attached 3 different RGB bitmaps: 16-bit, 24-bit and 32-bit. Is
it possible to tell the difference by inspecting the GDAL Dataset?

output_16bpp_gs.bmp
<http://osgeo-org.1560.x6.nabble.com/file/n5048271/output_16bpp_gs.bmp>  
output_24bpp_rgb.bmp
<http://osgeo-org.1560.x6.nabble.com/file/n5048271/output_24bpp_rgb.bmp>  
output_32bpp_rgb.bmp
<http://osgeo-org.1560.x6.nabble.com/file/n5048271/output_32bpp_rgb.bmp>  

Regards,
Maksim Sestic



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/GDAL-Dataset-to-NET-Bitmap-PixelFormat-issue-tp5048271.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to