views:

563

answers:

2

Hiya,

I was wondering if anyone knows how to automatically convert PDF's to JPGs in Drupal when a user uploads, i'm able to create a script to do the actual conversion but my dilema is being able to catch the file on upload and the process it. (or if there is a script/module that already does it it would be even better!).

Thanks in advance.

+1  A: 

i think you can do this with ImageMagick raw action and ImageCache.

ax
I've spotted that too, but do you have any idea on implementation or links to it? i have tried to google but no luck :/
Shadi Almosri
ImageCache is quite well documented: http://drupal.org/node/163561 . "ImageMagick raw action" gives you another action where you can enter an ImageMagick command line for converting pdf to jpg. which i think you have. doesn't sound too complicated. i won't test it for you, though :)
ax
A: 

The CDN modules' accompanying file conveyor daemon would probably do what you want (although this isn't technically Drupal)

Jeremy French