[gdal-dev] Bad value 4 for "ExtraSamples" tag
Meyer, Jesse R. (GSFC-618.0)[SCIENCE SYSTEMS AND APPLICATIONS INC]
jesse.r.meyer at nasa.gov
Fri Mar 8 11:00:36 PST 2024
We recently began seeing the following error (which doesn’t seem to produce incorrect output images)
ERROR 1: _TIFFVSetField:/vsimem/gtiff/thread/job/0x1f5d0970: Bad value 4 for "ExtraSamples" tag
when creating a geotif image from C++ with creation options:
char *disk_create_options[] = {"COMPRESS=ZSTD", "ZSTD_LEVEL=1", "INTERLEAVE=BAND", "Tiled=YES", "NUM_THREADS=ALL_CPUS", "SPARSE_OK=True", "PREDICTOR=3", 0};
We are not explicitly using the vsimem driver, only the driver returned by:
GDALGetDriverByName("GTiff")
Notably, the “ALPHA” creation option is absent, and per the documentation that is the only relevant option. The error is emitted on gdal 3.8.4, but we have another environment with 3.4.3 and there’s no error. On the 3.8.4 environment, we’re using internal libtiff w/ JXL support, if helpful.
Best,
Jesse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240308/ca85b073/attachment-0001.htm>
More information about the gdal-dev
mailing list