Only with ImageMagick.
1 identify -list policy
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 |
# identify -list policy Path: /etc/ImageMagick-6/policy.xml Policy: Resource name: disk value: 1GiB Policy: Resource name: map value: 512MiB Policy: Resource name: memory value: 256MiB Policy: Resource name: area value: 128MB Policy: Resource name: height value: 16KP Policy: Resource name: width value: 16KP Policy: Path rights: None pattern: @* Path: [built-in] Policy: Undefined rights: None |
If you see output below:
1 2 3 4 5 6 7 8 9 |
Policy: Delegate rights: None pattern: URL Policy: Delegate rights: None pattern: HTTPS Policy: Delegate rights: None pattern: HTTP |
Modify Path above, comment those like
1 2 3 4 5 6 7 8 9 10 11 |
... <policymap> ... <!-- use curl --> <!-- <policy domain="delegate" rights="none" pattern="URL" /> <policy domain="delegate" rights="none" pattern="HTTPS" /> <policy domain="delegate" rights="none" pattern="HTTP" /> --> ... </policymap> |
2 If you have svg somewhere other than your own disk, download it first.
3 Convert
1 |
convert 105.svg 105.png |
if that doesn’t work, try
1 |
convert MSVG:105.svg 105.png |
Convert SVG with xlink image to PNG by @sskaje: https://sskaje.me/2018/07/convert-svg-xlink-image-png/
Incoming search terms:
Link to this post!