[Gdal-dev] compression CCITTFAX4 ?

Ivan Mjartan ivan.mjartan at geovap.cz
Mon Jan 30 10:57:41 EST 2006


Hi list,

I have little problem with one raster 

This raster is info by gdalinfo.exe

Driver: GTiff/GeoTIFF
Size is 29320, 23915
Coordinate System is `'
Origin = (-526217.400234,-1169079.558552)
Pixel Size = (0.20988818,-0.20988818)
Metadata:
  TIFFTAG_XRESOLUTION=1000
  TIFFTAG_YRESOLUTION=1000
  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
Image Structure Metadata:
  COMPRESSION=CCITTFAX4
Corner Coordinates:
Upper Left  ( -526217.400,-1169079.559)
Lower Left  ( -526217.400,-1174099.034)
Upper Right ( -520063.479,-1169079.559)
Lower Right ( -520063.479,-1174099.034)
Center      ( -523140.439,-1171589.296)
Band 1 Block=29320x23915 Type=Byte, ColorInterp=Palette
  Color Table (RGB with 2 entries)
    0: 255,255,255,255
    1: 0,0,0,255

But problem is when I tried 

gdal_translate.exe -of BMP bohuslavice_pk.tif bohuslavice_pk.bmp 

I got following error 

ERROR 1: Internalize failed
ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0

The problem is also the same when I tried small subwindow.

What is wrong?  It is unsupported compression?  CCITTFAX4
Can I fix this problem with external tif library?

Thanks for your reply.


ivan mjartan 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060130/9a82bda5/attachment.html


More information about the Gdal-dev mailing list