Re: [gdal-dev] COG - RGBI

2020-05-08 Thread Travis Kirstine
Thanks all for the feedback! Right now we are looking at doing this for only 8bit. Regards On Fri, 8 May 2020 at 15:14, Frank Warmerdam wrote: > Travis, > > The big benefit of JPEG compression comes with YCbCr color space which I > do not believe can be mixed with a 4 band RGBI product. So

Re: [gdal-dev] COG - RGBI

2020-05-08 Thread Even Rouault
On vendredi 8 mai 2020 15:08:36 CEST Travis Kirstine wrote: > Is it possible to create RGBI Cloud Optimized Tiffs with JPEG compression? Possibly. But not with the COG driver, which doesn't offer the option for that. You should use the old way with the GTiff driver by forcing -co

Re: [gdal-dev] COG - RGBI

2020-05-08 Thread Frank Warmerdam
Travis, The big benefit of JPEG compression comes with YCbCr color space which I do not believe can be mixed with a 4 band RGBI product. So I'm not sure how one would do this. One could certainly put the NIR in a distinct directory in the GeoTIFF, but not many applications would know how to

Re: [gdal-dev] COG - RGBI

2020-05-08 Thread Vincent Sarago
I guess you mean RGB and I for Infra-red ? Anyway the answer will be NO. JPEG only allow 3 bands + a bit mask (same for Webp). For raster with more than 3 bands there is no real option to get compression (with loss) as high as with JPEG or WEBP . > Le 8 mai 2020 à 15:08, Travis Kirstine a

[gdal-dev] COG - RGBI

2020-05-08 Thread Travis Kirstine
Is it possible to create RGBI Cloud Optimized Tiffs with JPEG compression? ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev