cimage-simple's People
cimage-simple's Issues
Possible issue with new version of imagemagick
Possible issue with PNG generation, and masked by cimage swallowing an error here:
convert $pp.pdf $p.$nb\_$pn2.png 2> /dev/null
Removing the redirection to sderr, unmasks many iterations of this error:
convert: not authorized `pg_0101.pdf' @ error/constitute.c/ReadImage/412.
It turns out that this is something others have encountered with newer versions of ImageMagick (the package used by cimage to convert pdf to png), and it is caused by a recent change designed to improve safety of the ImageMagick library by restricting use of files of certain formats like pdf.
Itβs possible that I never encountered this error because all of my existing installs were still using an older version of ImageMagick, which happens to be installed on top of the image I use for cimage.
Current solution is to change the following line in /etc/ImageMagick-6/policy.xml
from
<policy domain="coder" rights="none " pattern="PDF" />
to
<policy domain="coder" rights="read|write" pattern="PDF" />
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.