PHP imagick SVG to PDF conversion generates massive PDF file

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
sayan
Posts: 2
Joined: 2014-02-17T23:09:17-07:00
Authentication code: 6789

PHP imagick SVG to PDF conversion generates massive PDF file

Post by sayan »

Hi,

I asked the same question in Stack Overflow. Here's a link- http://stackoverflow.com/questions/2187 ... e-pdf-file

Can anyone help me please?

Thanks,
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: PHP imagick SVG to PDF conversion generates massive PDF

Post by fmw42 »

I suspect that IM rasterizes the svg file and then puts a vector pdf wrapper around it.

see
http://www.imagemagick.org/Usage/formats/#vector
Post Reply