Commit | Line | Data |
---|---|---|
5c7da44c | 1 | SVG-SpriteMaker version 0.002 |
b1b509f4 MG |
2 | ============================= |
3 | ||
4 | This distribution includes: | |
5 | * SVG::SpriteMaker, a library for creating SVG sprites | |
6 | * svg-spritemaker, a simple command-line interface to the library | |
7 | ||
8 | A SVG sprite is a SVG image that contains several smaller images that | |
9 | can be referred to using fragment identifiers. For example, this HTML | |
10 | fragment: | |
11 | ||
12 | <img src="/img/cat.svg" alt="A cat"> | |
13 | <img src="/img/dog.svg" alt="A dog"> | |
14 | <img src="/img/horse.svg" alt="A horse"> | |
15 | ||
16 | Can be replaced with | |
17 | ||
18 | <img src="/img/sprite.svg#cat" alt="A cat"> | |
19 | <img src="/img/sprite.svg#dog" alt="A dog"> | |
20 | <img src="/img/sprite.svg#horse" alt="A horse"> | |
21 | ||
22 | INSTALLATION | |
23 | ||
24 | To install this module type the following: | |
25 | ||
26 | perl Makefile.PL | |
27 | make | |
28 | make test | |
29 | make install | |
30 | ||
31 | DEPENDENCIES | |
32 | ||
33 | This module requires these other modules and libraries: | |
34 | ||
35 | * SVG | |
36 | * SVG::Parser | |
37 | ||
38 | COPYRIGHT AND LICENCE | |
39 | ||
5c7da44c | 40 | Copyright (C) 2015-2017 by Marius Gavrilescu |
b1b509f4 MG |
41 | |
42 | This library is free software; you can redistribute it and/or modify | |
43 | it under the same terms as Perl itself, either Perl version 5.20.2 or, | |
44 | at your option, any later version of Perl 5 you may have available. | |
45 | ||
46 |