{"id":1026,"date":"2010-05-12T15:07:28","date_gmt":"2010-05-12T13:07:28","guid":{"rendered":"http:\/\/www.bdjl.de\/localhost\/?p=1026"},"modified":"2011-01-02T13:19:02","modified_gmt":"2011-01-02T12:19:02","slug":"imagemagick","status":"publish","type":"post","link":"https:\/\/www.bdjl.de\/localhost\/?p=1026","title":{"rendered":"imagemagick"},"content":{"rendered":"<p>Das Ausgangsbild war dieses hier:<\/p>\n<p><a href=\"http:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2010\/05\/audio.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1027\" title=\"audio\" src=\"http:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2010\/05\/audio.png\" alt=\"\" width=\"282\" height=\"123\" \/><\/a><\/p>\n<p>Also erstens zu gro\u00df (angestrebt war eine Breite von 150 Pixeln), zweitens im falschen Format (png) und drittens auch noch zu dick, weil mehr als 10kb schwer.<\/p>\n<blockquote><p>for i in `ls *.png`; do convert $i -resize 150 conv_$i.jpg; done<\/p><\/blockquote>\n<p>Ergebnis:<\/p>\n<p><a href=\"http:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2010\/05\/conv_audio.png1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1029\" title=\"conv_audio.png\" src=\"http:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2010\/05\/conv_audio.png1.jpg\" alt=\"\" width=\"150\" height=\"65\" \/><\/a><\/p>\n<p>Schwarze Ecken? Das war die Transparenz im PNG. Die musste nun weg und zwar in Richtung wei\u00df.<\/p>\n<blockquote><p>for i in `ls *.png`; do convert $i -alpha off -resize 150 conv_$i.jpg; done<\/p><\/blockquote>\n<p>Ergebnis:<\/p>\n<p><a href=\"http:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2010\/05\/conv_audio.png.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1028\" title=\"conv_audio.png\" src=\"http:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2010\/05\/conv_audio.png.jpg\" alt=\"\" width=\"150\" height=\"65\" \/><\/a><\/p>\n<p>So stimmt&#8217;s.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Das Ausgangsbild war dieses hier: Also erstens zu gro\u00df (angestrebt war eine Breite von 150 Pixeln), zweitens im falschen Format (png) und drittens auch noch zu dick, weil mehr als 10kb schwer. for i in `ls *.png`; do convert $i -resize 150 conv_$i.jpg; done Ergebnis: Schwarze Ecken? Das war die Transparenz im PNG. Die musste [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,9,5],"tags":[89],"class_list":["post-1026","post","type-post","status-publish","format-standard","hentry","category-bildgrafik","category-lfb","category-linux","tag-imagemagick"],"_links":{"self":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/1026","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1026"}],"version-history":[{"count":4,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/1026\/revisions"}],"predecessor-version":[{"id":1671,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/1026\/revisions\/1671"}],"wp:attachment":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1026"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1026"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}