Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageMagick Error (Resolved) #3

Closed
bug249286 opened this issue Feb 23, 2023 · 2 comments
Closed

ImageMagick Error (Resolved) #3

bug249286 opened this issue Feb 23, 2023 · 2 comments
Labels
bug Something isn't working resolved solution to a problem

Comments

@bug249286
Copy link

Docker FROM node:16-slim

Error Message:
Ignore the error in ImageMagick.: convert-im6.q16: attempt to perform an operation not allowed by the security policy PDF' @ error/constitute.c/IsCoderAuthorized/408.
convert-im6.q16: no images defined png:-' @ error/convert.c/ConvertImageCommand/3258.

how to fix.
Thanks.

@bug249286
Copy link
Author

Resolved


# Open the file 
sudo nano /etc/ImageMagick-6/policy.xml

# find and edit the line
<policy domain="coder" rights="none" pattern="PDF" />
# to :
<policy domain="coder" rights="read|write" pattern="PDF" />

ref : https://askubuntu.com/questions/1127260/imagemagick-convert-not-allowed

@bug249286 bug249286 changed the title ImageMagick Error ImageMagick Error (Resolved) Feb 23, 2023
@Ilyes-El-Majouti
Copy link
Owner

Thank you for the report and the solution don't forget to drop a star on the project it will make me happy

@Ilyes-El-Majouti Ilyes-El-Majouti added the bug Something isn't working label Feb 23, 2023
@Ilyes-El-Majouti Ilyes-El-Majouti added the resolved solution to a problem label Feb 23, 2023
@Ilyes-El-Majouti Ilyes-El-Majouti pinned this issue Feb 23, 2023
Repository owner locked as resolved and limited conversation to collaborators Feb 23, 2023
@Ilyes-El-Majouti Ilyes-El-Majouti closed this as not planned Won't fix, can't repro, duplicate, stale Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working resolved solution to a problem
Projects
None yet
Development

No branches or pull requests

2 participants