Opened 12 years ago

Closed 12 years ago

#2121 closed defect (fixed)

[PATCH] gdalenhance fixes

Reported by: Even Rouault Owned by: warmerdam
Priority: normal Milestone: 1.5.1
Component: Utilities Version: 1.5.0 betas/RCs
Severity: normal Keywords: gdalenhance


The attached patch fixes the following issues :

  • (major) crash when doing "gdalenhance input.tif output.tif" without any other commandline option
  • (minor) unnecessary use of "-ot Byte"
  • (minor) unimplemented src_scale and dst_scale commandline options mismatch between usage and code

Attachments (1)

gdal_svn_trunk_gdalenhance_fixes.patch (2.0 KB) - added by Even Rouault 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by Even Rouault

comment:1 Changed 12 years ago by warmerdam


Feel free to go ahead with the patch. I'm afraid gdalenhance is still in a shambles and not fit for widespread use.

comment:2 Changed 12 years ago by Even Rouault

Resolution: fixed
Status: newclosed

Applied in trunk in r13467 and in branches/1.5 in r13468

Note: See TracTickets for help on using tickets.