[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master ecef2963: Book: added necssary ImageMagick pol
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master ecef2963: Book: added necssary ImageMagick policy edit to bootstraping. |
Date: |
Fri, 11 Feb 2022 07:06:14 -0500 (EST) |
branch: master
commit ecef2963bc94aea915317fa607533846f1f6e87d
Author: Sepideh Eskandarlou <sepideh.eskandarlou@gmail.com>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Book: added necssary ImageMagick policy edit to bootstraping.
Until now, there was no description for the necessary edit to the
ImageMagick policy for the bootstraping process.
With this commit, I have explained the necessary line to add to the
necessary file, and in the text I have added the link for more information.
---
doc/gnuastro.texi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index a0309ef6..b1e0400e 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -6333,6 +6333,20 @@ $ latex --version
ImageMagick is a wonderful and robust program for image manipulation on the
command-line.
@file{bootstrap} uses it to convert the book images into the formats necessary
for the various book formats.
+Since ImageMagick version 7, it is necessary to edit the policy file
(@file{/etc/ImageMagick-7/policy.xml}) to have the following line (it maybe
present, but commented, in this case un-comment it):
+
+@example
+<policy domain="coder" rights="read|write" pattern="@{PS,PDF,XPS@}" />
+@end example
+
+If the following line is present, it is also necessary to comment/remove it.
+
+@example
+<policy domain="delegate" rights="none" pattern="gs" />
+@end example
+
+To learn more about the ImageMagic security policy please see:
@url{https://imagemagick.org/script/security-policy.php}.
+
To check that you have a working ImageMagick in your system, you can try this
command:
@example
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnuastro-commits] master ecef2963: Book: added necssary ImageMagick policy edit to bootstraping.,
Mohammad Akhlaghi <=