On Fri, May 11, 2012 at 3:58 PM, MWilson Matthew <[email protected]> wrote:

>  Good morning,****
>
>   I’ve been searching the documentation and the mailing list archive but
> haven’t found an answer yet.****
>
> ** **
>
>   When I specify the output of the WMS as image/jpeg, what are the
> specifics to what kind of compression is used on those images?  With my
> raster imagery, it’s about a 9x reduction in size from png to jpeg, but I’m
> wondering if we have any control over some jpeg compression parameters such
> as subsampling, chrominance and luminance.
>

The only control you have is the level of compression, specified in the WMS
service page.
The JPEG encoder provided by Java and/or JAI Image I/O does not allow to
control
extra parameters, though having enough resources it should be possible to
write a custom
jpeg encoder, based on low level C libraries, that allows to expose said
parameters to the
caller and/or the administrator.

Cheers
Andrea

-- 
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to