pdf

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
stefchat
Posts: 1
Joined: 2011-10-12T14:18:15-07:00
Authentication code: 8675308

pdf

Post by stefchat » 2011-10-12T14:25:28-07:00

Hi,
I'm trying under windows7, ImageMagick-6.7.3-Q16, to read the first page of a pdf.
So :
ret = MagickReadImage(mw, "qt-vs-java-whitepaper.pdf[0]");
Gives me "unknown 32 no decode delegate for this image format `qt-vs-java-whitepaper.pdf[0]' @ error/constitute.c/ReadImage/532"

note:
I tried under cmd.exe :
convert convert qt-vs-java-whitepaper.pdf[0] ooo.jpg
and get
Magick: unable to open image `qt-vs-java-whitepaper.pdf[0]': No such file or directory @ error/blob.c/OpenBlob/2589.

Of course without [0] everything works fine, but all the pdf is parsed :(

Where my mistake ?
Could you help me please ?

Post Reply