[gdal-dev] Gdal_edit and TIFFTAG_EXTRASAMPLES
Rahkonen Jukka (MML)
jukka.rahkonen at maanmittauslaitos.fi
Sun Oct 1 13:21:32 PDT 2017
Thanks Even.
I would guess that also other users who have both RGB+alpha and RGB+NIR images will appreciate these changes. At least for me it has been plain mystery when the fourth band appears as alpha and when as undefined, and how to change the interpretation despite using VRT.
-Jukka-
________________________________
Lähettäjä: Even Rouault <even.rouault at spatialys.com>
Lähetetty: 1. lokakuuta 2017 22:54
Vastaanottaja: gdal-dev at lists.osgeo.org
Kopio: Rahkonen Jukka (MML)
Aihe: Re: [gdal-dev] Gdal_edit and TIFFTAG_EXTRASAMPLES
Updates:
1) I've improved the GTiff driver to support updating color interpretation in udpate mode
2) I've improved gdal_edit to support a
-colorinterp_X red|green|blue|alpha|undefined option where X is the band number.
3) I've fixed "tiffset -s ExtraSamples 1 val" to work (the issue was specific to specifying just one value indeed)
Note that with libtiff when you change an existing tag, the file size will slightly increase each time you do a change.
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20171001/0f045a43/attachment.html>
More information about the gdal-dev
mailing list