Using Imagemagick (Ghostscript) on cflinuxfs3 #cf

Markus Tanner


I'm using the nodejs-buildpack together with the cflinuxfs3 stack. I would like to convert PDF documents to JPEG images.
In order to do this I'm using Imagemagick together with Ghostscript.

cflinuxfs3 uses the following Ubuntu package:
Unfortunately there's a security issue with Ghostscript in this version. Because of that the Ghostscript handled types are disabled in policy.xml.

I'd like to override the policy.xml (/etc/ImageMagick-6/policy.xml). 
But I would need root permissions for that, which I don't have.

Unfortunately my CF provider couldn't help me with that problem.
Does anyone here know a workaround for this?

Thanks in advance

Join { to automatically receive all group messages.