[gdal-dev] How can I do to load into a Bitmap an ECW image from GDAL?

Francisco José Reyes Peralta gistdt08 at hotmail.es
Mon Apr 18 06:14:51 EDT 2011


Dear Jean-Claude,I'm using GDAL 1.8.0, with the csharp dlls loaded into my project.I can load another images but ECW I cannot load into my project.I copy the gdal folder into my bin project folder, I reference the gdal_csharp.dll in it, and activate the gdal in the code:            Dim gdal As String = ";"
            Dim ruta As String = Environment.GetEnvironmentVariable("PATH")
            gdal &= Application.StartupPath & "\GDALx86"
            ruta &= ";" & gdal
            Environment.SetEnvironmentVariable("PATH", ruta)Is needed another dll as the libecwj2.dll?Is supported by GDAL this images actually? In the support formats you can find ECW file supported.Thanks in advanced.Francisco J.
Le 18/04/2011 11:45, Francisco José Reyes Peralta a écrit :
> Dear friends,
>
> I'm reading the GDAL documentation, and I'm trying to represent a ECW
> image into a Bitmap in C#.
>
> The problem is that when I try to load it, it give me an error of Image
> not recognized or bad extension.
>
> Do I need anything else to load this images using GDAL?

Hello,
What OS are you using ?
What version of GDAL are you using ?
Did you compile GDAL yourself, or did you use a precompiled binary package ?

Jean-Claude 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110418/a645ca28/attachment.html


More information about the gdal-dev mailing list