HI All,
Many thanks for the all the responses. Interesting discussion; I've learnt
a lot.

I think my next step is to do some testing; I've not tried the four band -
RGBI imagery yet. When I do I'll post back here with whatever seems to work
best.

Cheers,
Jonathan

On 12 November 2013 13:45, Even Rouault <even.roua...@mines-paris.org>wrote:

> Selon Andrea Aime <andrea.a...@geo-solutions.it>:
>
> > On Tue, Nov 12, 2013 at 12:45 PM, Simone Giannecchini <
> > simone.giannecch...@geo-solutions.it> wrote:
> >
> > > >
> > > > Will the PHOTOMETRIC= YCBCR work with a four band RGBI?
> > > >
> > >
> > > It should not.
> > >
> >
> > Actually... JPEG itself is not defined on 4 bands images as far as I
> know?
> > Maybe GDAL is dropping the 4th band during the JPEG compression?
>
> The YCbCR JPEG profile of TIFF is indeed limited to 3 bands. So if you
> pass a 4
> band image, gdal_translate should refuse to process it.
> You can JPEG compress a 4 band image, but it will use a JPEG codestream
> for each
> band independantly, so the resulting size will be bigger.
> A possible option would be to generate 2 GeoTIFFs for each input file : one
> YCbCR JPEG compressed with the RGB components, and one JPEG compressed
> with the
> I component. But that might complicate the overall workflow.
>
> Even
>
> >
> > Cheers
> > Andrea
> >
> > --
> > ==
> > Our support, Your Success! Visit http://opensdi.geo-solutions.it for
> more
> > information.
> > ==
> >
> > Ing. Andrea Aime
> > @geowolf
> > Technical Lead
> >
> > GeoSolutions S.A.S.
> > Via Poggio alle Viti 1187
> > 55054  Massarosa (LU)
> > Italy
> > phone: +39 0584 962313
> > fax: +39 0584 1660272
> > mob: +39 339 8844549
> >
> > http://www.geo-solutions.it
> > http://twitter.com/geosolutions_it
> >
> > -------------------------------------------------------
> >
>
>
>
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models.
> Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and
> register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to