SVG convert clipping error

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
dognose
Posts: 268
Joined: 2005-03-08T22:16:37-07:00

SVG convert clipping error

Post by dognose »

I'm getting a weird clipping issue when trying to convert from a clipart svg

Image
Image

convert -alpha on -depth 8 -background none in.svg out.png

Image

I'm using IM 6.7, trying to update to 6.8 to see if that is the problem.
Is this issue fixed, or is there another workaround?

snibgo
Posts: 12706
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: SVG convert clipping error

Post by snibgo »

There may be something weird in the SVG file. Please post it.
snibgo's IM pages: im.snibgo.com

dognose
Posts: 268
Joined: 2005-03-08T22:16:37-07:00

Re: SVG convert clipping error

Post by dognose »

I did post it.. http://openclipart.org/people/nicubunu/ ... plain).svg

I'm also noticing black outlines in the output.

snibgo
Posts: 12706
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: SVG convert clipping error

Post by snibgo »

The OP shows PNG files, not the SVG.

The SVG file contains:

Code: Select all

width="400pt"
height="400pt"
Elements go beyond these boundaries. Changing them to 500 captures everything.
snibgo's IM pages: im.snibgo.com

Post Reply