Open JoKalliauer opened 6 years ago
It's not possible. I can create a new one if you need.
I would like such option because I always reinsert it manually, also I think options should kept at a minimal level to be clear for new users.
options should kept at a minimal level
What do you mean?
Nothing important. I mean that
svgcleaner.exe --help
svgcleaner could help you to clean up your SVG files from the unnecessary data.
A complete documentation can be found here: https://github.com/RazrFalcon/svgcleaner/blob/master/docs/svgcleaner.adoc
USAGE:
svgcleaner [FLAGS] [OPTIONS]
<FLAG> can contain values: true, false, yes, no, y, n
EXAMPLES: clean a file with default options: svgcleaner in.svg out.svg
clean a file with custom options:
svgcleaner --indent=2 --paths-coordinates-precision=5 --join-arcto-flags=yes in.svg out.svg
clean a file without default options:
svgcleaner --no-defaults --remove-comments=yes in.svg out.svg
clean a stream using UNIX pipes:
cat in.svg | svgcleaner -c - > out.svg
FLAGS: -h, --help Print help information -V, --version Print version information -c, --stdout Print result to the standard output --no-defaults Reset default flags to 'no' --multipass Clean a file multiple times --allow-bigger-file Allow bigger file --copy-on-error Copy an original file to the destination on error --quiet Show only warnings and errors
OPTIONS:
Elements:
--remove-comments
Attributes:
--remove-version
Paths:
--paths-to-relative
Output:
--trim-colors
ARGS:
Ok. I will add it.
for new users it is not easy to not find the function
That's why the GUI exists. I don't plan to simplify the help output for now.
Just for Information:
Since some weeks https://validator.w3.org/check only checks SVGs with Doctype (or you have to specify it manually before the check)
I know some decline Doctype-Declaration (DTD): https://jwatt.org/svg/authoring/#doctype-declaration
But I personally prefer Doctype-Declaration, because https://validator.w3.org/ has a different Check for SVGs with DTD, and it does not display any warning. Is there an option to keep DTD?
scour keeps it and for svgo is an option for keeping DTD:
Or you might can convince me that SVGs should not have DTD.