summaryrefslogtreecommitdiff
path: root/media-gfx/svgcleaner/metadata.xml
blob: 5927ce789b425192bc2e9640c71a4a632caaf710 (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://srcux.com/dtd/metadata.dtd">
<pkgmetadata>
  <maintainer type="person">
    <email>lo48576@hard-wi.red</email>
    <name>YOSHIOKA Takuma</name>
  </maintainer>
  <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>
  <origin>srcux</origin>
</pkgmetadata>