-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sir_Yaro
committed
Dec 31, 2021
1 parent
8426fbc
commit f9fe8fd
Showing
1 changed file
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,11 @@ cd /etc/ImageMagick-6 #check if that is correct directory | |
sudo xmlstarlet edit -L --update "/policymap/policy[@name='disk']/@value" --value "16GiB" policy.xml #allows to handle files up to 16GB | ||
sudo xmlstarlet edit -L --subnode "/policymap" --type elem --name 'policy domain="coder" rights="read | write" pattern="PDF" ' policy.xml #allows read/write pdfs | ||
``` | ||
if you still getting an error:<BR> | ||
`convert-im6.q16: not authorized 'filename.pdf' @ error/constitute.c/WriteImage/1037.`<BR> | ||
you can try disable IM limits all together with<BR> | ||
`sudo mv /etc/ImageMagick-6/policy.xml /etc/ImageMagick-6/policy.xml.BAK`<BR> | ||
<BR> | ||
**Instalation**<BR> | ||
``` | ||
git clone [email protected]:SirYaro/arrange_cards.git | ||
|