Comments (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.
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)
- Doesn't work on OSX, need to change sed flag HOT 7
- What if PDF size is not either 4:3 nor 16:9? HOT 1
- Policy.xml problems ImageMagick-7 HOT 1
- No such file or directory HOT 1
- How to change output resolution HOT 2
- Doesn't work in Ubuntu 18.04 Error with extraction HOT 2
- Conversion error even after policy.xml is changed as per README HOT 1
- Different Aspect Ratio HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdf2pptx.