Opened 11 years ago
Last modified 10 years ago
#5176 closed defect
HFA driver: re-writing existing histogram in HFA file, after raster editing — at Initial Version
Reported by: | nflood | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.11.0 |
Component: | GDAL_Raster | Version: | 1.10.0 |
Severity: | normal | Keywords: | hfa histogram |
Cc: |
Description
When using Imagine to directly edit the pixel values, Imagine fails to recalculate the histogram correctly. GDAL can be used to write the histogram to an HFA file, but only if it is not already present. This patch adds a case to hfaopen.cpp to allow the histogram counts to be re-written after they have changed.
This patch is against the current 1.10.0 release, but was originally trialed against 1.9.0, and has been in use since July 2012 without further problems.
Change History (2)
by , 11 years ago
Attachment: | hfaopen.cpp.overwritehisto.patch added |
---|
by , 11 years ago
Attachment: | hfaopen.cpp.overwritehisto.trunk.patch added |
---|
Note:
See TracTickets
for help on using tickets.
patch against current trunk (2013-07-31, revision 26024)