PDF BLOB to image BLOB

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
Xandros
Posts: 28
Joined: 2009-10-02T09:19:49-07:00
Authentication code: 8675309

PDF BLOB to image BLOB

Post by Xandros »

Hi !

I'm having issues when trying to convert a PDF blob to an image BLOB.

What I do is :

Create magick wand
set wand format to 'PDF'
set wand resolution to 72 x 72
read image from blob
thumbnailimage
set image format to 'JPG'
write image to BLOB

Resulting blob is 0 bytes long.

If I export the same BLOB to a disk file, it converts fine.

What am I doing wrong ? Should I also set Image format to PDF after reading from blob and before thumbnailimage ?

Thanks
Xandros
Posts: 28
Joined: 2009-10-02T09:19:49-07:00
Authentication code: 8675309

Re: PDF BLOB to image BLOB

Post by Xandros »

magick ? could you please give me a hand with this issue (already previously mentioned on the forum) ?

Thanks a lot
Xandros
Posts: 28
Joined: 2009-10-02T09:19:49-07:00
Authentication code: 8675309

Re: PDF BLOB to image BLOB

Post by Xandros »

Hi

any chance this thread gets any answer at all please ?

Thanks
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: PDF BLOB to image BLOB

Post by magick »

Post a short program we can download and compile that illustrates the problem. We need to reproduce the problem before we can offer any help.
Post Reply