Ticket #2115 (closed defect: fixed)
Writing 1bit TIFF files broken.
| Reported by: | warmerdam | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | high | Milestone: | 1.5.0 |
| Component: | GDAL_Raster | Version: | 1.5.0 betas/RCs |
| Severity: | normal | Keywords: | gtiff 1bit |
| Cc: |
Description
warmerda@gdal64[58]% gdal_translate -co NBITS=1 fax750219.tif ~/out.tif Input file size is 1728, 2288 0ERROR 1: One bit raster bands are read-only. ...
It appears my move to GDALDatasetCopyWholeRaster() for the GTiff driver broke support for writing 1 bit files. This needs to be fixed in branches/1.5 (possibly for the 1.5 release). The autotest also needs to be extended to include 1bit writing and the HFA driver should be checked to ensure it does not have the same problem.
Change History
Note: See
TracTickets for help on using
tickets.
