Ticket #4400 (closed defect: fixed)
The ECW driver can not create files with compression ratio higher than 100
| Reported by: | jcrepetto | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.9.0 |
| Component: | GDAL_Raster | Version: | unspecified |
| Severity: | normal | Keywords: | ECW |
| Cc: |
Description
For example, if I want a target compression ratio of 200, I need to set the TARGET creation output parameter to 99.5 :
gdal_translate -of ECW -co TARGET=99.5 ign.jpg ign.ecw Input file size is 662, 360 0ERROR 6: TARGET compression of 99.500 invalid, should be a value between 0 and 99 percent.
The attached patch solves the problem.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

