svg symbols clipped

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
doyley3
Posts: 23
Joined: 2014-02-11T09:52:48-07:00
Authentication code: 6789

svg symbols clipped

Post by doyley3 »

Would anyone be so kind as to have a look at my svg for convert to png?

Created in Illustrator, it contains a repeating symbol which seems to be being clipped into the top left hand corner, plus there are some gaps in the rendering of the "Afternoon" img.

https://www.dropbox.com/s/k9n0v4a1x9clq ... tfront.svg

here's what it should look like:
https://www.dropbox.com/s/xcnsk0zhw9xrbid/cup.tiff
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: svg symbols clipped

Post by snibgo »

With IM v6.8.8-7 using RSVG on Windows 8.1:

Code: Select all

convert "Tea&cakeA6LandscapeFlatfront.svg" t.png
the result looks the same as your tiff.
snibgo's IM pages: im.snibgo.com
doyley3
Posts: 23
Joined: 2014-02-11T09:52:48-07:00
Authentication code: 6789

Re: svg symbols clipped

Post by doyley3 »

Thank you, I realised that since I installed 6.8.8-7 from source I no longer had rsvg.

So installed rsvg through whm then reinstalled imagemagick but convert -list configure still doesn't show rsvg in the delegates and DISTCHECK_CONFIG_FLAGS --with-rsvg=no
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: svg symbols clipped

Post by fmw42 »

doyley3 wrote:Thank you, I realised that since I installed 6.8.8-7 from source I no longer had rsvg.

So installed rsvg through whm then reinstalled imagemagick but convert -list configure still doesn't show rsvg in the delegates and DISTCHECK_CONFIG_FLAGS --with-rsvg=no
Look for errors in the config.log file and see why it did not install correctly or IM could not find it.

Does it show in

convert -version

as one of the listed delegates?
doyley3
Posts: 23
Joined: 2014-02-11T09:52:48-07:00
Authentication code: 6789

Re: svg symbols clipped

Post by doyley3 »

I couldn't find the relevant info in config.log so I've started again!

I now have imagemagick-6.8.8-7 and my list of delegates is bzlib mpeg fontconfig freetype gslib jng jpeg lcms pango png ps rsvg tiff x xml zlib

As my install still isn't working quite as I'd expect, I checked my old lifst of delegates and see that now I'm missing djvu gvc jp2 lqr openexr x11 wmf

Is this is a matter of uninstalling and reinstalling with ./configure --prefix=/usr/local --with-djvu=yes --with-gvc=yes --with-jp2=yes --with-lqr=yes --with-openexr=yes --with-x11=yes --with-wmf=yes
?
doyley3
Posts: 23
Joined: 2014-02-11T09:52:48-07:00
Authentication code: 6789

Re: svg symbols clipped

Post by doyley3 »

Corr I could not work out where the right place was for Imagemagick (convert my/path/test.svg test.png put the test.png in the very root of my vps)

So again I uninstalled but this time installed both imagemagick and imagick via whm. Now I have a functioning imagemagick but it's version 6.5.4 :-(

Now my original svg shows up correct ish but with artefacts/outline around everything. How to upgrade imagemagick?
doyley3
Posts: 23
Joined: 2014-02-11T09:52:48-07:00
Authentication code: 6789

Re: svg symbols clipped

Post by doyley3 »

These are the instructions that worked for me to install imagemagick and imagick from source:

http://blog.servint.net/2013/07/26/inst ... agemagick/
Post Reply