{"id":22,"date":"2006-03-07T12:11:51","date_gmt":"2006-03-07T11:11:51","guid":{"rendered":"http:\/\/sdubois.evolix.net\/blog\/?p=22"},"modified":"2006-03-07T12:11:51","modified_gmt":"2006-03-07T11:11:51","slug":"manipulation-dimage-avec-convert-dimagemagick","status":"publish","type":"post","link":"https:\/\/sdubois.fr\/blog\/2006\/03\/manipulation-dimage-avec-convert-dimagemagick\/","title":{"rendered":"Manipulation d&rsquo;image avec convert d&rsquo;imagemagick"},"content":{"rendered":"<p>Ma probl\u00e9matique : g\u00e9rant la mise en place de page web \u00e0  l&rsquo;aide du petit outil igal (<a title=\"Igal\" href=\"http:\/\/www.stanford.edu\/~epop\/igal\">http:\/\/www.stanford.edu\/~epop\/igal<\/a>), il me fallait pouvoir \u00e0  distance faire tourner des images afin de les rendre droite \ud83d\ude42<\/p>\n<p>Il suffit d&rsquo;installer imagemagick<br \/>\n(<a title=\"ImageMagick\" href=\"http:\/\/www.imagemagick.org\/script\/index.php\">http:\/\/www.imagemagick.org\/script\/index.php<\/a>)<br \/>\nCe dernier contient un ensemble d&rsquo;outils dont \u00ab\u00a0convert\u00a0\u00bb<br \/>\n(voir sortie de <code>dpkg -L imagemagick<\/code>)<\/p>\n<p><strong>Exemple :<\/strong><\/p>\n<p>Faire tourner une image de 90\u00b0 sens horaire:<br \/>\n<code>convert -rotate 90 dscf1350.jpg dscf1350.jpg<\/code><br \/>\nOn peut ais\u00e9ment mettre en place des script bas\u00e9s sur ces outils.<\/p>\n<p>URL int\u00e9ressante :<br \/>\n<a title=\"Graphics from the command line\" href=\"http:\/\/www-128.ibm.com\/developerworks\/library\/l-graf\/?ca=dnt-428\">http:\/\/www-128.ibm.com\/developerworks\/library\/l-graf\/?ca=dnt-428<\/a><\/p>\n<p><!--59c36c15d0dda82f80bd1d0a5c8f0546--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ma probl\u00e9matique : g\u00e9rant la mise en place de page web \u00e0 l&rsquo;aide du petit outil igal (http:\/\/www.stanford.edu\/~epop\/igal), il me fallait pouvoir \u00e0 distance faire tourner des images afin de les rendre droite \ud83d\ude42 Il suffit d&rsquo;installer imagemagick (http:\/\/www.imagemagick.org\/script\/index.php) Ce dernier contient un ensemble d&rsquo;outils dont \u00ab\u00a0convert\u00a0\u00bb (voir sortie de dpkg -L imagemagick) Exemple : <a href=\"https:\/\/sdubois.fr\/blog\/2006\/03\/manipulation-dimage-avec-convert-dimagemagick\/\"> lire la suite <span class=\"meta-nav\"><\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-22","post","type-post","status-publish","format-standard","hentry","category-tic"],"_links":{"self":[{"href":"https:\/\/sdubois.fr\/blog\/wp-json\/wp\/v2\/posts\/22","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sdubois.fr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sdubois.fr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sdubois.fr\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sdubois.fr\/blog\/wp-json\/wp\/v2\/comments?post=22"}],"version-history":[{"count":0,"href":"https:\/\/sdubois.fr\/blog\/wp-json\/wp\/v2\/posts\/22\/revisions"}],"wp:attachment":[{"href":"https:\/\/sdubois.fr\/blog\/wp-json\/wp\/v2\/media?parent=22"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sdubois.fr\/blog\/wp-json\/wp\/v2\/categories?post=22"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sdubois.fr\/blog\/wp-json\/wp\/v2\/tags?post=22"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}