Opened 16 years ago

Closed 16 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
Cc:

Description

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 16 years ago.

Download all attachments as: .zip

Change History (3)

by Even Rouault, 16 years ago

comment:1 by warmerdam, 16 years ago

Even,

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 by Even Rouault, 16 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.