]>
iEval git - svg-spritemaker.git/blob - svg-spritemaker
12 'prefix|p=s' => \
$prefix,
13 'output|out|o=s' => \
$out,
16 my $sprite = make_sprite
$prefix, @ARGV;
18 open my $fh, '>', $out;
29 svg-spritemaker - Combine several SVG images into a single SVG sprite
33 svg-spritemaker [-o OUTPUT] [-p PREFIX] FILE...
35 svg-spritemaker a.svg b.svg > sprite.svg # Standard usage
36 svg-spritemaker -p img a.svg b.svg > sprite.svg # Custom prefix
37 svg-spritemaker -o sprite.svg dir/*.svg # Output file
38 svg-spritemaker --prefix=logo --output=logos.svg logos/* # Long options
42 svg-spritemaker takes several SVG images and combines them into a
43 single SVG sprite. See L<SVG::SpriteMaker> for more information about
50 =item B<-o> I<file>, B<--out>=I<file>, B<--output>=I<file>
52 Write the sprite into the following file, overwriting it if necessary.
53 By default the sprite is written on STDOUT.
55 =item B<-p> I<prefix>, B<--prefix>=I<prefix>
57 Sets the prefix for the fragment identifiers. Default is C<sprite>
58 (which results in identifiers C<sprite-a>, C<sprite-b> for the first
59 example in the SYNOPSIS).
65 L<SVG::SpriteMaker>, L<https://css-tricks.com/svg-fragment-identifiers-work/>
69 Marius Gavrilescu, E<lt>marius@ieval.roE<gt>
71 =head1 COPYRIGHT AND LICENSE
73 Copyright (C) 2015 by Marius Gavrilescu
75 This library is free software; you can redistribute it and/or modify
76 it under the same terms as Perl itself, either Perl version 5.20.2 or,
77 at your option, any later version of Perl 5 you may have available.
This page took 0.042802 seconds and 5 git commands to generate.