#5616 closed defect (fixed)
Null count for ICC Profile error opening tiff file.
Reported by: | timaranz | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 2.0.0 |
Component: | default | Version: | 1.11.0 |
Severity: | normal | Keywords: | python ICC |
Cc: |
Description (last modified by )
Hi guys,
Attached is a .tif file that won't open with python GDAL 1.11.
osgeo.gdal.Open(r"F:\Temp\0820.tif", GA_ReadOnly) ERROR 1: _TIFFVSetField:F:\Temp\0820.tif: Null count for "ICC Profile" (type 7, writecount -3, passcount 1)
The file opens in other windows applications, although GIMP also reports a (recoverable) error. Is this a bad file or a bug?
Could not attach so here is a download link.
Download Link - Expires on 2014-09-15 00:00 GMT+1200 0820.tif (2.5 MB) https://justattach-nz.leapfrog3d.com/download.php?A=kci2qtD05YR650D4M7ZMa-ZKdX7uY.iU5B918TyVBhI
Change History (4)
comment:1 by , 10 years ago
Description: | modified (diff) |
---|
comment:2 by , 10 years ago
Milestone: | → 2.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:3 by , 10 years ago
trunk r27596 "Fix Win32 compilation". The commit comment wrongly references ticket 5619.
Yes, the file has likely a defect in the ICC Profile tag. This is something that is however non critical so GDAL behaviour was a bit over reaction.
trunk r27589 "GTiff: to make Python bindings happy, avoid emitting CE_Failure errors due to libtiff errors when we still manage to open the file (#5616)"