# NAME

SVG::Fill - use svg file as templates, replace strings and images by id

# SYNOPSIS

      use SVG::Fill;

      # Open the filename for resue
      my $file = SVG::Fill->new( 'example.svg' );

      # Fill text in to a text field
      $file->fill_text('#Template_ID', 'New Text');

      # Save image in to an image
      $file->fill_image('#Template_ID', 'file.png');

      # Cleanup ugly font-family-Attributes, removes '' written by Adobe Illustrator
      $file->font_fix;

      # Save the modified svg
      $file->save('output.svg');

# DESCRIPTION

SVG::Fill rewrites svg as template. Elements like text and img could be replaced by id (layer-name in Adobe Illustrator/Inkscape)

# LICENSE

Copyright (C) Jens Gassmann.

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.

# AUTHOR

Jens Gassmann <[email protected]>