Opened 16 years ago

Last modified 13 years ago

#2251 closed defect

Jasper driver fails with small jp2 image — at Initial Version

Reported by: ssakharov Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: jpeg2000 jasper
Cc: dron

Description

Attempting to use the example jp2 images from the ecw sdk, ie testdata/Grayscale2.jp2 causes gdal to throw an error:

$ ./gdal_translate.exe -of GTiff testdata/Greyscale2.jp2 gray.tiff Input file size is 1500, 1500 0jpc_dec_decodepkts failed error: cannot decode code stream error: cannot get box ERROR 1: IReadBlock failed at X offset 0, Y offset 0 ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0

This can be seen via gddal_translate and also band.readraster via code. The jasper library is the uuid modified version.

Change History (0)

Note: See TracTickets for help on using tickets.