Ticket #1000 (closed defect: fixed)
HFA reading code does not handle reduced precision properly
| Reported by: | sam.gillingham@… | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.3 |
| Component: | GDAL_Raster | Version: | unspecified |
| Severity: | normal | Keywords: | hfa |
| Cc: | mloskot, globalmapper |
Description (last modified by mloskot) (diff)
Frank, I am having some trouble reading some compressed img files which I will attach to this bug. One is float and the other signed 32 bit int. The central block of each of these images is compressed using the 'reduced precision' system (numruns = -1). I see this was added back in GDAL 1.1.5. However, the values GDAL reads out are quite different from what Imagine displays - the numbers are huge for floats and zero for ints where they should be more similar to the sorrounding values. I had a quick look and couldn't see anything obvious in the reading code and I couldn't find any documentation about the layout of reduced precision blocks. Do you have additional documentation or any insight as to what could be going wrong? Thanks, Sam.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

