blob: 39ab2595136b17f9d2c1293c079c080967983b05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lo48576@hard-wi.red</email>
<name>YOSHIOKA Takuma</name>
</maintainer>
<upstream>
<remote-id type="github">RazrFalcon/svgcleaner</remote-id>
</upstream>
<longdescription lang="en">
Purpose
The main purpose of svgcleaner is to losslessly reduce the size of an SVG image, created in a vector editing application, before publishing.
Usually more than half of an SVG image's data is useless for rendering. For example:
Temporary data used by the vector editing application
Non-optimal SVG structure representation
Unused and invisible graphical elements
... Are all unnecessary in a published SVG.
Goals
Correctness - svgcleaner should not break an SVG file
Cleaning ratio - Higher is better
Performance - An average SVG file processing time should be closer to ~1ms on a modern PC
Alternatives
svgo
scour
In addition to the main advantages of svgcleaner — like correctness, cleaning ratio and performance, which are described below — there are some more nuances to be aware of:
svgcleaner cleans only one SVG file. It doesn't process SVGZ files. It doesn't process directories. It doesn't do anything else. Just one task*.
svgcleaner is strictly lossless by default. There are no destructive cleaning options enabled by default.
svgcleaner is portable. You can build it into a single executable without any external dependencies.
* You can get all of these features using the GUI.
</longdescription>
</pkgmetadata>
|