<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<pre style="font-family: 'Times New Roman'; font-size: 12pt; ">Dear Jean-Claude,</pre><pre style="font-family: 'Times New Roman'; font-size: 12pt; ">I'm using GDAL 1.8.0, with the csharp dlls loaded into my project.</pre><pre style="font-family: 'Times New Roman'; font-size: 12pt; ">I can load another images but ECW I cannot load into my project.</pre><pre style="font-family: 'Times New Roman'; font-size: 12pt; ">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:</pre><pre><font class="Apple-style-span" size="4"> Dim gdal As String = ";"
Dim ruta As String = Environment.GetEnvironmentVariable("PATH")
gdal &= Application.StartupPath & "\GDALx86"
ruta &= ";" & gdal
Environment.SetEnvironmentVariable("PATH", ruta)</font></pre><pre style="font-family: 'Times New Roman'; font-size: 12pt; ">Is needed another dll as the <b>libecwj2.dll</b>?</pre><pre style="font-family: 'Times New Roman'; font-size: 12pt; ">Is supported by GDAL this images actually? In the support formats you can find ECW file supported.</pre><pre style="font-family: 'Times New Roman'; font-size: 12pt; ">Thanks in advanced.</pre><pre style="font-family: 'Times New Roman'; font-size: 12pt; ">Francisco J.</pre><pre style="font-family: 'Times New Roman'; font-size: 12pt; "><b><br></b></pre><pre style="font-family: 'Times New Roman'; font-size: 12pt; ">Le 18/04/2011 11:45, Francisco José Reyes Peralta a écrit :
><i> Dear friends,
</i>><i>
</i>><i> I'm reading the GDAL documentation, and I'm trying to represent a ECW
</i>><i> image into a Bitmap in C#.
</i>><i>
</i>><i> The problem is that when I try to load it, it give me an error of Image
</i>><i> not recognized or bad extension.
</i>><i>
</i>><i> Do I need anything else to load this images using GDAL?
</i>
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</pre>                                            </body>
</html>