Re: [gdal-dev] Gdal_edit and TIFFTAG_EXTRASAMPLES

2017-10-01 Thread Rahkonen Jukka (MML)
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-

Re: [gdal-dev] Gdal_edit and TIFFTAG_EXTRASAMPLES

2017-10-01 Thread Even Rouault
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