Page 1 of 1

convert .eps to .pdf using MagickWand

Posted: 2010-02-17T05:51:33-07:00
by arn
Hello!

I am trying to implement a function to convert .eps to .pdf using MagickWand. However, the following code

" ...
MagickWand *mw = NULL;
MagickWandGenesis();
mw = NewMagickWand();
MagickReadImage(mw,"test.eps");
MagickWriteImage(mw,"test.pdf");
..."

produce a worse looking .pdf than when I run

"convert test.eps test.pdf"

from the command line, which is not what I expected. How come, and how can I fix this?

I am using ImageMagick-6.5.4-Q16 on windows XP

Regards
arn