[gdal-dev] Problem with GDALDatasetRasterIO.cs and ECW files

Francisco José Reyes Peralta gistdt08 at hotmail.es
Tue Apr 19 05:37:25 EDT 2011


Dear friends,

I'm vieweing the GDALDatasetRasterIO.cs from the Csharp samples of GDAL and I'm getting an error in the following line

Bitmap bitmap = new Bitmap(imageWidth, imageHeight, pixelFormat);

In the pixelFormat argument.

I'm trying to load an ECW image into a BitMap.

Anybody can help me about this error?

This line is related with the pixelFormat = PixelFormat.Format24bppRgb; line

Thanks in advanced.

Francisco J. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110419/6523a1b6/attachment.html


More information about the gdal-dev mailing list