<?xml
version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:atom="http://www.w3.org/2005/Atom"
>

<channel xml:lang="fr">
	<title>Tech de Gamuza</title>
	<link>https://tech.gamuza.fr/</link>
	
	<language>fr</language>
	<generator>SPIP - www.spip.net</generator>
	<atom:link href="https://tech.gamuza.fr/spip.php?id_mot=42&amp;page=backend" rel="self" type="application/rss+xml" />




<item xml:lang="fr">
		<title>Compiler imagemagick pour ajouter les delegated </title>
		<link>https://tech.gamuza.fr/Compiler-imagemagick-pour-ajouter-les-delegated.html</link>
		<guid isPermaLink="true">https://tech.gamuza.fr/Compiler-imagemagick-pour-ajouter-les-delegated.html</guid>
		<dc:date>2023-09-14T08:33:18Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>Christophe</dc:creator>


		<dc:subject>tutoriel</dc:subject>
		<dc:subject>Debian</dc:subject>
		<dc:subject>serveur</dc:subject>

		<description>&lt;p&gt;&lt;strong&gt;D&#233;pannage :&lt;/strong&gt; r&#233;solution d'un probl&#232;me dans l'utilisation de &lt;i&gt;convert&lt;/i&gt; pour la conversion des jpg en pdf&lt;/p&gt;

-
&lt;a href="https://tech.gamuza.fr/-configuration-d-un-serveur-debian-.html" rel="directory"&gt;Debian&lt;/a&gt;

/ 
&lt;a href="https://tech.gamuza.fr/+-tutoriel-+.html" rel="tag"&gt;tutoriel&lt;/a&gt;, 
&lt;a href="https://tech.gamuza.fr/+-debian-+.html" rel="tag"&gt;Debian&lt;/a&gt;, 
&lt;a href="https://tech.gamuza.fr/+-serveur-+.html" rel="tag"&gt;serveur&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_texte'&gt;&lt;p&gt;&lt;md&gt;&lt;br class='autobr' /&gt;
# tranformer une image (jpg) en pdf&lt;br class='autobr' /&gt;
Si la commande &lt;code class='spip_code spip_code_inline' dir='ltr'&gt;convert toto.jpg toto.pdf&lt;/code&gt;&lt;br class='autobr' /&gt;
vous renvoie l'erreur : &lt;br class='autobr' /&gt;
&gt;ImageMagick : No decode delegate for this image format&lt;/p&gt;
&lt;p&gt;cela veut dire que imagemagick n'est pas compil&#233; avec les bons &lt;code class='spip_code spip_code_inline' dir='ltr'&gt;delegates&lt;/code&gt;&lt;br class='autobr' /&gt;
la commande &lt;code class='spip_code spip_code_inline' dir='ltr'&gt;convert -list configure | grep DELEGATES&lt;/code&gt; ne doit pas vous retourner &lt;code class='spip_code spip_code_inline' dir='ltr'&gt;jpeg&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Pour r&#233;soudre ce probl&#232;me, il faut compiler le paquet &#224; la main :&lt;/p&gt;
&lt;div class=&#034;precode&#034;&gt;&lt;pre data-language=&#034;bash&#034; class='spip_code spip_code_block language-bash' dir='ltr' style='text-align:left;'&gt;&lt;code&gt;sudo apt update sudo apt install build-essential sudo apt install -y libjpeg-dev wget https://www.imagemagick.org/download/ImageMagick.tar.gz tar xvzf ImageMagick.tar.gz cd ImageMagick-[version_number] ./configure --disable-shared sudo make sudo make install sudo make check &lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/md&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>



</channel>

</rss>
