NAME

Apache::AxKit::Language::Svg2AnyFormat - SVG Serializer

SYNOPSIS

AddHandler axkit .svg

## Fairly important to cache the output because
## transformation is highly CPU-Time and Memory consuming
AxCacheDir /tmp/axkit_cache

## When using SvgCgiSerialize this is vital 
## because the cgi-parameters are not used
## by default to build the cache
AxAddPlugin Apache::AxKit::Plugin::QueryStringCache

<Files ~ *.svg>
  AxAddStyleMap application/svg2anyformat Apache::AxKit::Language::Svg2AnyFormat
  AxAddProcessor application/svg2anyformat NULL

  ## optional with this variable you can
  ## overwrite the default output format 
  ## PNG
  ## Supported Values:
  ##    image/jpeg
  ##    image/png
  ##    image/gif
  ##    application/pdf
  PerlSetVar SVGOutputMimeType image/jpeg

  ## optional module to pass the format using cgi-parameters
  ## to the module. For supported values see above
  ## and the man-page of the plugin
  AxAddPlugin Apache::AxKit::Plugin::SvgCgiSerialize   
</Files>

DESCRIPTION

Svg2AnyFormat is a serializer which can transform SVG to many different output formats(e.g. png, jpg, ... ). At the moment it uses Image::Magick as conversion library which does not support the whole set of svg features. In one case the conversion could work in another not. You have to give it a try. Please note because Svg2AnyFormat to any format is a searializer it HAS TO BE LAST in the transformer chain!!!!

VERSION

0.01

SEE ALSO

Apache::AxKit::Plugin::SvgCgiSerialize

AUTHOR

Tom Schindl <tom.schindl@bestsolution.at>