[Gdal-dev] pb creating a bmp

Frank Warmerdam warmerdam at pobox.com
Mon Sep 27 15:59:41 EDT 2004


Stephane Routelous wrote:
> Hi,
> 
> i'm using GDAL 1.2.2.0, released 2004/08/16 on Windows 2000 with
> VisualC++6.0 SP5
> 
> I was working with bmp file :
...
> as output (in stdout) I have :
> ERROR 3: Can't write block with X offset 0 and Y offset 0
> ERROR 3: Can't write block with X offset 0 and Y offset 1
> ERROR 3: Can't write block with X offset 0 and Y offset 2
> ERROR 3: Can't write block with X offset 0 and Y offset 3
> (...)
> ERROR 3: Can't write block with X offset 0 and Y offset 33
> ERROR 3: Can't write block with X offset 0 and Y offset 34
> 
> RasterIO returns CE_None and the created file is wrong.
> 
> can you help me with this problem ?
> I tried to check the gdal code when debugging, but I'm lost.

Stephane,

Hmm, your code works fine for me on Linux with the current CVS version.
No chance it is anything obvious like the T: drive being full is it?

I'll make a quick try on Windows when my wife makes way for me.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list