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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to