From 8c544cd98f6149b7ab0a0500e4e2d85359a8baa5 Mon Sep 17 00:00:00 2001 From: claw0ry Date: Thu, 12 Dec 2024 10:44:05 +0100 Subject: improve setup in convert-svg-to-png --- content/posts/convert-svg-to-png.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'content/posts/convert-svg-to-png.md') diff --git a/content/posts/convert-svg-to-png.md b/content/posts/convert-svg-to-png.md index 220102a..0e7001e 100644 --- a/content/posts/convert-svg-to-png.md +++ b/content/posts/convert-svg-to-png.md @@ -9,13 +9,9 @@ Today I was going to pick-up an order and to my dissapointment the store sent me -My first go-to is [ImageMagick](https://imagemagick.org/script/index.php) which is a powerfull image converter/manipulator tool. The problem with ImageMagic was that when I wanted to scale the image to a larger size than the original SVG (300x300), it got all blurry. +My first go-to is [ImageMagick](https://imagemagick.org/script/index.php) which is a powerfull image converter/manipulator tool. The problem with ImageMagic was that when I wanted to scale the image to a larger size than the original SVG (300x300), it got all blurry. I needed a larger size because the 300x300 image got blurry on my phone. I wanted it to be atleast 1024x1024. -I needed a larger size because the 300x300 image got blurry on my phone. I wanted it to be atleast 1024x1024. - -I went looking for alternatives and found this [StackOverflow answer](https://stackoverflow.com/a/14174624) which suggest using `inkscape`. - -The command suggested worked perfectly. My image got as clear as it could be. +I went looking for alternatives and found this [StackOverflow answer](https://stackoverflow.com/a/14174624) which suggest using `inkscape`. The command suggested worked perfectly. My image got as clear as it could be. ``` inkscape -w 1024 -h 1024 input.svg -o output.png -- cgit v1.2.3