Re: [gdal-dev] Gdal_edit and TIFFTAG_EXTRASAMPLES

2017-10-01 Thread Rahkonen Jukka (MML)
- Lähettäjä: Even Rouault <even.roua...@spatialys.com> Lähetetty: 1. lokakuuta 2017 22:54 Vastaanottaja: gdal-dev@lists.osgeo.org Kopio: Rahkonen Jukka (MML) Aihe: Re: [gdal-dev] Gdal_edit and TIFFTAG_EXTRASAMPLES Updates: 1) I've improved the GTiff

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

Re: [gdal-dev] Gdal_edit and TIFFTAG_EXTRASAMPLES

2017-09-30 Thread Even Rouault
On samedi 30 septembre 2017 21:01:57 CEST Rahkonen Jukka (MML) wrote: > Hi, > > I have been searching an easy way to change the interpretion of 4-channel > images between RGBA and RGB+undefined. Wouldn't if be useful to make > gdal_edit to support also changing the TIFFTAG_EXTRASAMPLES metadata?

[gdal-dev] Gdal_edit and TIFFTAG_EXTRASAMPLES

2017-09-30 Thread Rahkonen Jukka (MML)
Hi, I have been searching an easy way to change the interpretion of 4-channel images between RGBA and RGB+undefined. Wouldn't if be useful to make gdal_edit to support also changing the TIFFTAG_EXTRASAMPLES metadata? Or do we have some other easy way for performing that task? -Jukka Rahkonen-