Process converting PDF to PNG crashes

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
Dilshod

Process converting PDF to PNG crashes

Post by Dilshod »

I am having some issues reading PDF from Oracle BLOB and exporting in another format. My code uses ImageWand to manipulate the images. The compiled binary is called from Oracle Database. It works perfectly for image types with native blob support however for PDF format ImageMagic generates temp files (and lots [over 1000] of them as /tmp/magick-XX******). Then it crashes after a few seconds. The temp files have either 0 bytes or 1 byte.

According to manual pages, the ImageMagick can have a native blob support for PDF formats. So, how can I configure the ImageMagic to use native blob instead of writing to disk?

Any help is appreciated.

Thank you,

Dilshod.
Post Reply