Page 1 of 1

Merging PDF with vector graphics and raster image

Posted: 2012-03-18T13:45:41-07:00
by agri.seb
I need to merging PDF with vector graphics and raster image. As a result, I again need to get PDF with vector graphics.

I use command
convert file.pdf -page +100+200 file.jpg -flatten result.pdf

with different optional keys, but always get an incorrect result (i always get raster image. But i need to get PDF with vector graphics).
Help me, how do I realize my task?

Re: Merging PDF with vector graphics and raster image

Posted: 2012-03-18T13:47:48-07:00
by fmw42
Imagemagick will always rasterize your result. You need to find some other solution.

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