Opened 21 years ago

Last modified 15 years ago

#403 closed defect

DumpModeDecode: Not enough data for scanline 0 — at Initial Version

Reported by: matt.wilkie@… Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc: Jeff McKenna, hobu, Mateusz Łoskot

Description

when translating a greyscale tiff I get the message:

<verbatim>
gdal_translate -of png cowley.tif test.png
Input file size is 10060, 14800
ERROR 1: cowley.tif:DumpModeDecode: Not enough data for scanline 0
ERROR 1: TIFFReadEncodedTile() failed.

ERROR 1: IReadBlock failed at X offset 0, Y offset 115
ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 115
ERROR 1: cowley.tif:DumpModeDecode: Not enough data for scanline 0
ERROR 1: TIFFReadEncodedTile() failed.
...
</verbatim>

The output format does not seem to matter. The output image is created but the
bottom strip is streaked. I can send a screen shot if you wish. The source image
does not have the streaks. I'm using OpenEV for viewing.

<verbatim>
> gdalinfo cowley.tif       # <-- input image
Driver: GTiff/GeoTIFF
Size is 10060, 14800
Coordinate System is `'
Origin = (503830.589326,6711515.646365)
Pixel Size = (0.489962,-0.489962)
Corner Coordinates:
Upper Left  (  503830.589, 6711515.646)
Lower Left  (  505305.912, 6704264.204)
Upper Right (  508759.611, 6712518.467)
Lower Right (  510234.933, 6705267.024)
Center      (  507032.761, 6708391.335)
Band 1 Block=128x128 Type=Byte, ColorInterp=Palette
  Overviews: 106x155
  Color Table (RGB with 256 entries)
    0: 0,0,0,255
    1: 1,1,1,255
...blah blah blah...

>gdalinfo test.jp2      # <-- output image
Driver: JP2KAK/JPEG-2000 (based on Kakadu)
Size is 10060, 14800
Coordinate System is `'
Origin = (503830.589326,6711515.646365)
Pixel Size = (0.489962,-0.489962)
Corner Coordinates:
Upper Left  (  503830.589, 6711515.646)
Lower Left  (  505305.912, 6704264.204)
Upper Right (  508759.611, 6712518.467)
Lower Right (  510234.933, 6705267.024)
Center      (  507032.761, 6708391.335)
Band 1 Block=512x128 Type=Byte, ColorInterp=Palette
  Overviews: 5030x7400, 2515x3700, 1258x1850, 629x925, 315x463
  Color Table (RGB with 256 entries)
    0: 0,0,0,255
    1: 1,1,1,255
    2: 2,2,2,255
...blah blah blah...
</verbatim>

All programs are from openev_fw_162.zip
OS is WindowsXP (not avail. in the bug form)

Change History (0)

Note: See TracTickets for help on using tickets.