SVG to A4 PDF produces bad images

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
sayan
Posts: 2
Joined: 2014-02-17T23:09:17-07:00
Authentication code: 6789

SVG to A4 PDF produces bad images

Post by sayan »

Hi everyone,

We are trying to convert an SVG (width 737, height 521) to PDF of A4 dimensions. The problem is that the quality of images generated is really bad.

This link has more information- http://stackoverflow.com/questions/2182 ... ity-is-bad

Any help would be greatly appreciated.

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

Re: SVG to A4 PDF produces bad images

Post by snibgo »

How large are your jpeg images? Your SVG code resizes them to width=195 etc. Then you scale up the entire image. If the input jpegs are large, the results are bound to be horrible.

As you have no vector elements, I wouldn't use SVG. I would use IM convert to place the jpeg images on a suitable background, and save that as the PDF. If you must use SVG, then choose width and height etc so they are not resized.
snibgo's IM pages: im.snibgo.com
Post Reply