Search found 4 matches

by pat
2017-12-16T02:26:41-07:00
Forum: Users
Topic: Change canvas size and fit original image inside it, preserving aspect ratio.
Replies: 13
Views: 47460

Re: Change canvas size and fit original image inside it, preserving aspect ratio.

Can you elaborate snibgo? Can't I just extend the SVG file to square & gravity to center? I don't want to convert my file to PNG yet.
by pat
2017-12-15T09:01:53-07:00
Forum: Users
Topic: Change canvas size and fit original image inside it, preserving aspect ratio.
Replies: 13
Views: 47460

Re: Change canvas size and fit original image inside it, preserving aspect ratio.

@snibgo
Wow, thanks for such fast reply. I did the same thing, however, the result is blurred and looks like a bitmap.

magick mogrify *.svg -resize '128x128' -gravity center -extent '128x128' *.svg
Takes such effect:
https://i.imgur.com/pqnUfei.png

I tried also:

magick convert *.svg -resize ...
by pat
2017-12-15T08:38:07-07:00
Forum: Users
Topic: Change canvas size and fit original image inside it, preserving aspect ratio.
Replies: 13
Views: 47460

Re: Change canvas size and fit original image inside it, preserving aspect ratio.

Hey guys,
how can I proceed in a similar situation, but with SVG file?

Thanks a lot,
P.