From 582041a37562c8fe00238b22f886e605b12f8960 Mon Sep 17 00:00:00 2001 From: hau Date: Wed, 12 Aug 2020 00:26:24 +0700 Subject: [PATCH] image --- Applications/Misc/imagemagick.md | 7 +++++++ Applications/Misc/inkscape.md | 9 +++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 Applications/Misc/imagemagick.md diff --git a/Applications/Misc/imagemagick.md b/Applications/Misc/imagemagick.md new file mode 100644 index 0000000..a230594 --- /dev/null +++ b/Applications/Misc/imagemagick.md @@ -0,0 +1,7 @@ +# [imagemagick](https://github.com/ImageMagick/ImageMagick) + +Convert `.svg` to `.png`: + +```sh +convert input.svg output.png +``` diff --git a/Applications/Misc/inkscape.md b/Applications/Misc/inkscape.md index 8b8b332..d666919 100644 --- a/Applications/Misc/inkscape.md +++ b/Applications/Misc/inkscape.md @@ -1,11 +1,16 @@ # [inkscape](https://gitlab.com/inkscape/inkscape) +| Distribution | Package | +| ------------ | ---------- | +| Arch Linux | `inkscape` | +| Ubuntu | `inkscape` | + Convert `.svg` to `.png`: ```sh # version < 1.0 -inkscape -z -w 1024 -h 1024 input.svg -e output.png +inkscape -z input.svg -e output.png # version >= 1.0 -inkscape -w 1024 -h 1024 input.svg --export-filename output.png +inkscape input.svg --export-filename output.png ```