convert .eps to .pdf using MagickWand

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
arn

convert .eps to .pdf using MagickWand

Post 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
Post Reply