Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Imagemagick not working on Ubuntu, posted by scott on Wed Apr 24 12:55:25 2024 image.png
    icon2.gif   Re: Imagemagick not working on Ubuntu, posted by Konstantin Olchanski on Thu Apr 25 02:11:08 2024 
Message ID: 69790     Entry time: Thu Apr 25 02:11:08 2024     In reply to: 69789
Icon: Reply  Author: Konstantin Olchanski  Author Email: olchansk@triumf.ca 
Category: Question  OS: Linux | Other  ELOG Version: 3.1.5 
Subject: Re: Imagemagick not working on Ubuntu 
Please see https://daq00.triumf.ca/DaqWiki/index.php/Ubuntu#Enable_elog_PDF_preview

see https://stackoverflow.com/questions/52998331/imagemagick-security-policy-pdf-blocking-conversion

xemacs -nw /etc/ImageMagick-6/policy.xml
remove this section at the end:
<!-- disable ghostscript format types -->
<policy domain="coder" rights="none" pattern="PS" />
<policy domain="coder" rights="none" pattern="PS2" />
<policy domain="coder" rights="none" pattern="PS3" />
<policy domain="coder" rights="none" pattern="EPS" />
<policy domain="coder" rights="none" pattern="PDF" />
<policy domain="coder" rights="none" pattern="XPS" />

K.O.
ELOG V3.1.5-3fb85fa6