NAME

svg-spritemaker - Combine several SVG images into a single SVG sprite

SYNOPSIS

svg-spritemaker [-o OUTPUT] [-p PREFIX] FILE...

svg-spritemaker a.svg b.svg > sprite.svg                 # Standard usage
svg-spritemaker -p img a.svg b.svg > sprite.svg          # Custom prefix
svg-spritemaker -o sprite.svg dir/*.svg                  # Output file
svg-spritemaker --prefix=logo --output=logos.svg logos/* # Long options

DESCRIPTION

svg-spritemaker takes several SVG images and combines them into a single SVG sprite. See SVG::SpriteMaker for more information about SVG sprites.

OPTIONS

-o file, --out=file, --output=file

Write the sprite into the following file, overwriting it if necessary. By default the sprite is written on STDOUT.

-p prefix, --prefix=prefix

Sets the prefix for the fragment identifiers. Default is sprite (which results in identifiers sprite-a, sprite-b for the first example in the SYNOPSIS).

SEE ALSO

SVG::SpriteMaker, https://css-tricks.com/svg-fragment-identifiers-work/

AUTHOR

Marius Gavrilescu, <marius@ieval.ro>

COPYRIGHT AND LICENSE

Copyright (C) 2015 by Marius Gavrilescu

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.20.2 or, at your option, any later version of Perl 5 you may have available.