Hi,
I’ve a new patch to http://jira.codehaus.org/browse/GEOS-4919 that is almost definitive.
(if you want a summary of what that is about see:
http://osgeo-org.1560.n6.nabble.com/Presenting-new-work-on-PNG8-quantization-with-alpha-channel-td3819239.html )
With this new patch we’re back to a single output format, if you choose image/png8 the
quantizer will be chosen based on wheter the original image is translucent or not, with
a format option, format_options=quantizer:octree|mediancut, allowing the caller to
force a specific method.
I’ve also implemented support for user provided palettes that contain translucent entries.
It’s mostly there for completeness sake, as it does give little speedup compared to
the on the fly palette building (this is because on-the fly palette building creates a data
structure that speeds up significantly the inverse color mapping based on the actual
image colors, something that one does not have when starting with a mere palette).
The code needs some more tests but I otherwise consider it worth committing.
The patch is large so I’d be happy to get a review.
The plan is to commit it only on trunk for the time being, if we get positive results
we can think about backporting it later
Cheers
Anrea
–
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
Excellent!
I’m going on vacation for the next two weeks, but will be glad to give the patch a read sometime in between.
Is it working for meta tiled requests now? I’d be psyched to testing it from gwc.
Cheers!
Gabriel
On Sun, Feb 12, 2012 at 3:08 PM, Andrea Aime <andrea.aime@anonymised.com> wrote:
Hi,
I’ve a new patch to http://jira.codehaus.org/browse/GEOS-4919 that is almost definitive.
(if you want a summary of what that is about see:
http://osgeo-org.1560.n6.nabble.com/Presenting-new-work-on-PNG8-quantization-with-alpha-channel-td3819239.html )
With this new patch we’re back to a single output format, if you choose image/png8 the
quantizer will be chosen based on wheter the original image is translucent or not, with
a format option, format_options=quantizer:octree|mediancut, allowing the caller to
force a specific method.
I’ve also implemented support for user provided palettes that contain translucent entries.
It’s mostly there for completeness sake, as it does give little speedup compared to
the on the fly palette building (this is because on-the fly palette building creates a data
structure that speeds up significantly the inverse color mapping based on the actual
image colors, something that one does not have when starting with a mere palette).
The code needs some more tests but I otherwise consider it worth committing.
The patch is large so I’d be happy to get a review.
The plan is to commit it only on trunk for the time being, if we get positive results
we can think about backporting it later
Cheers
Anrea
–
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
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
–
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.
On Sun, Feb 12, 2012 at 8:03 PM, Gabriel Roldan <groldan@anonymised.com…> wrote:
Excellent!
I’m going on vacation for the next two weeks, but will be glad to give the patch a read sometime in between.
Is it working for meta tiled requests now? I’d be psyched to testing it from gwc.
It should. The only case I’m still aware of issues is some untiled requests on large image mosaics.
Probably not much of a use case for this work anyways, those requests work best with JPEG anyways
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