Date: 2004-07-13T11:15:08
Editor: TonyCollen <[EMAIL PROTECTED]>
Wiki: Cocoon Wiki
Page: SVGSerializerKeys
URL: http://wiki.apache.org/cocoon/SVGSerializerKeys
no comment
Change Log:
------------------------------------------------------------------------------
@@ -11,10 +11,16 @@
=== How to use these keys ===
You can see a basic usage of the key in Cocoon's sitemap file:
-<map:serializer logger="sitemap.serializer.svg2jpeg" mime-type="image/jpeg"
name="svg2jpeg" src="org.apache.cocoon.serialization.SVGSerializer">
+{{{
+<map:serializer
+ logger="sitemap.serializer.svg2jpeg"
+ mime-type="image/jpeg"
+ name="svg2jpeg"
+ src="org.apache.cocoon.serialization.SVGSerializer">
+
<parameter name="quality" type="float" value="0.5"/>
</map:serializer>
-
+}}}
=== Key List ===
The following keys are available in either usage of the SVGSerializer (jpeg or
png) They were taken from the Batik Javadocs. Note that since some of them
deal with the contents of the SVG file and not the final image, not all keys
may actually be useful.