Ticket #3956 (closed defect: fixed)

Opened 16 months ago

Last modified 16 months ago

HFA driver can't read 2 bit compressed data

Reported by: ianmartin Owned by: warmerdam
Priority: normal Milestone: 1.8.1
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: hfa
Cc:

Description

Trying to read a 2 bit run length encoded compressed img file results in

0ERROR 1: Attempt to uncompress an unsupported pixel data type.
ERROR 1: IReadBlock failed at X offset 0, Y offset 0
ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0

Patch attached

Attachments

hfa_2bit.patch Download (1.0 KB) - added by ianmartin 16 months ago.
2bit_compressed.img Download (4.5 KB) - added by ianmartin 16 months ago.
Test image that currently fails

Change History

Changed 16 months ago by ianmartin

Changed 16 months ago by ianmartin

  • version changed from unspecified to svn-trunk

Changed 16 months ago by ianmartin

Test image that currently fails

Changed 16 months ago by warmerdam

  • status changed from new to closed
  • resolution set to fixed
  • component changed from default to GDAL_Raster
  • milestone set to 1.8.1

I have applied the patch and implemented some modest testing for this image form in trunk (r21671). Code change also backported to 1.8 branch (r21672).

Thanks!

Note: See TracTickets for help on using tickets.