> From: MJ Ray [mailto:[EMAIL PROTECTED]]
>
> Vadim Gritsenko wrote:
> >> Looking at the source on there (a not-too-recent CVS copy), it
seems that
> >> the JPEGTranscoder doesn't get the Hint for the compression set.
Has
> >> this been fixed and when (2.0.2? current CVS?)?  Where is it best
fixed?
> >
> > IIRC, there were NO changes in the SVG serialization area.
> > PS Send in a patch.
> 
> On second(*) inspection,
> src/java/org/apache/cocoon/serialization/SVGSerializer.java has a
> configure() method, which goes through and adds hints found in a
> configuration.  Trying to figure out where to set this configuration
option,
> http://archive.covalent.net/xml/cocoon-dev/2000/04/0240.xml suggests
that
> sitemap is the right place.  Digging around after the fact, I see a
similar
> configuration problem is dealt with in
> http://xml.apache.org/cocoon/userdocs/concepts/sitemap.html
> 
> The form of the options has changed over time, but setting
> 
> <map:serializer name="svg2jpeg" logger="sitemap.serializer.svg2jpg"
> src="org.apache.cocoon.serialization.SVGSerializer"
mime-type="image/jpeg">
>  <parameter name="quality" value="0.9" type="float"/>
> </map:serializer>
> 
> in the sitemap seems to work, looking at the logs.  I hope that helps
> someone else, too.  The generated error didn't seem to relate to the
sitemap
> in any way.  Perhaps the option should be set in the default
cocoon.war's
> sitemap file?

Thanks a ton. This went straight into CVS.

Vadim

> 
> --
> MJR ,----------------------------------------------------
>     | Q. Do you need a net-based application developing,
>     |    or advice and training about web technology?
>     | A. I suggest you try http://www.luminas.co.uk/
> 


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to