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                                       
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to