GithubHelp home page GithubHelp logo

Comments (2)

ashafaei avatar ashafaei commented on July 17, 2024 2

I'm not exactly sure what's the problem here, but I just tested this solution and it works. (@justin-ashworth-research @oliversheridanmethven )

Install Imagemagick from brew:

> brew reinstall imagemagick

Then edit

/usr/local/Cellar/imagemagick/7.0.11-9/etc/ImageMagick-7/policy.xml

the version numbers might be different for you. As of now, this is the latest one.

Then add

<policy domain="coder" rights="read" pattern="PDF" />

just before

</policymap>

so that you'll have

<policy domain="coder" rights="read" pattern="PDF" />
</policymap>

and it'll work.

@oliversheridanmethven there seems to be a problem with your installation

convert: unable to load module '/usr/local/Cellar/imagemagick/7.0.10-29/lib/ImageMagick/modules-Q16HDRI/coders/pdf.la': file not found @ error/module.c/OpenModule/1287.

It's unable to find a library file. Reinstalling imagemagick with

> brew reinstall imagemagick

might solve your problem.

from pdf2pptx.

justin-ashworth-research avatar justin-ashworth-research commented on July 17, 2024

I have encountered the same error as above while trying to use Imagemagick 'convert' for .pdf to .png, with a Homebrew installation of Imagemagick, ghostscript, etc. I have not fixed it. This does not appear to relate to the 'policy fix' shown above though. Those lines appear commented out, anyway.

from pdf2pptx.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.