{"id":970,"date":"2021-09-26T08:22:19","date_gmt":"2021-09-26T08:22:19","guid":{"rendered":"https:\/\/labiol.xyz\/?p=970"},"modified":"2021-09-26T08:22:19","modified_gmt":"2021-09-26T08:22:19","slug":"convert-jpg-images-into-pdf-file","status":"publish","type":"post","link":"https:\/\/www.labiol.xyz\/index.php\/2021\/09\/26\/convert-jpg-images-into-pdf-file\/","title":{"rendered":"convert jpg images into pdf file"},"content":{"rendered":"\n<p>It can be easly done with &#8220;convert&#8221; program. Should be widely available on the Linux system (I am using this on my debian which I could install without any problem).<\/p>\n\n\n\n<p>To convert jpg(s) file(s) into pdf you just simply need to go to the directory with the files and do the following:<\/p>\n\n\n\n<p><code>convert *.jpg out.pdf<\/code><\/p>\n\n\n\n<p>In case of the following error: &#8220;convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF&#8217; @ error\/constitute.c\/IsCoderAuthorized\/408.&#8221; please add the following lines to file \/etc\/ImageMagick-6\/policy.xml between &lt;policymap&gt; .. &lt;\/policymap&gt; tags:<\/p>\n\n\n\n<p><code>&lt;policy domain=\"coder\" rights=\"none\" pattern=\"PS2\"\/><br>&lt;policy domain=\"coder\" rights=\"none\" pattern=\"PS3\"\/><br>&lt;policy domain=\"coder\" rights=\"none\" pattern=\"EPS\"\/><br>&lt;policy domain=\"coder\" rights=\"read|write\" pattern=\"PDF\"\/><br>&lt;policy domain=\"coder\" rights=\"none\" pattern=\"XPS\"\/><\/code><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It can be easly done with &#8220;convert&#8221; program. Should be widely available on the Linux system (I am using this on my debian which I could install without any problem). To convert jpg(s) file(s) into pdf you just simply need to go to the directory with the files and do &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[],"class_list":["post-970","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-linux"],"_links":{"self":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/970","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=970"}],"version-history":[{"count":2,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/970\/revisions"}],"predecessor-version":[{"id":972,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/970\/revisions\/972"}],"wp:attachment":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=970"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}