Imagemagick error convert jpg to PDF : convert-im6.q16: not authorized

Setelah memory error karena kembali ke settingan default yang notabene konfigurasi jumlah memory yang kecil, ternyata saya masih mengalami masalah error lagi, yaitu kita sebagai user tidak bisa melakukan konversi karena ada settingan yang berubah pada posisi permisiion-nya. Berikut pesan error yang tertampil ketika saya mencoba melakukan konversi JPG ke PDF dengan Image Magick:

 convert-im6.q16: not authorized `01.pdf' @ error/constitute.c/WriteImage/1037.

saya buka kembali file konfigurasi policy.xml tadi dengan peirntah:

 sudo vim /etc/ImageMagick-6/policy.xml

lalu saya ubah bagian ini:

 <policy domain="coder" rights="none" pattern="PDF" />

menjadi seperti berikut:

 <policy domain="coder" rights="read|write" pattern="PDF" />

simpan lalu saya coba jalankan kembali perintah konversi seperti berikut ini:

convert *.JPG hasil.pdf

dan akhirnya berhasil juga saya ubah file JPG menjadi PDF, :-)
Imagemagick error convert jpg to PDF : convert-im6.q16: not authorized Imagemagick error convert jpg to PDF : convert-im6.q16: not authorized Reviewed by Himawan Mahardianto on July 02, 2019 Rating: 5


AK Blogger said...

With this great programming, you, it is very simple to change over recordings to NDS like proselyte AVI to NDS, convert MP4 to NDS, SWF to NDS, WMV, VOB, FLV, MKV, MOV, WTV, OGV, ASF, RM, F4V, WebM, AVCHD, MTS, MPG and so on to NDS with no quality misfortune. AnyConv

markson said...

With the ongoing advancements one can without much of a stretch get the answer for this issue through the dynamic video converter for Mac offered by various mainstream programming designers. FLV to MP4 video converter

Lisa Jones said...

Postscript and PDF Risks on Image-Processing Web Servers ImageMagick doesn't pay attention to file name extensions. It reads the beginning of the file to figure out what format it contains — JPEG, GIF, PNG, whatever. That means that an attacker could rename a hostile PostScript file whatever. vanguardngr

freewebtoolz said...

Thanks for sharing this valuable information about Convert Your Text To Pdf Online. I have gone through your post and got meaningful information.

Powered by Blogger.