ashafaei/pdf2pptx

Policy.xml problems ImageMagick-7

Opened this issue · 1 comments

I've tried to edit the policy XML as described in the README,
However it seems the xml file is different with ImageMagick 7.
There are a number of examples commented out, none matching the line to change as per the readme.
I copied in the desired line, but am still returning the error.

The error is present on any .pdf I try to convert, including the test.pdf included.

@privacy313

change to

  <!-- <policy domain="delegate" rights="none" pattern="gs" /> -->
  <policy domain="coder" rights="read" pattern="PDF" />

it works