{"id":126,"date":"2006-05-06T16:31:50","date_gmt":"2006-05-06T21:31:50","guid":{"rendered":"http:\/\/bitpost.com\/news\/2006\/05\/06\/imagemagicks-convert-append\/"},"modified":"2011-04-06T19:32:07","modified_gmt":"2011-04-07T00:32:07","slug":"imagemagicks-convert-append","status":"publish","type":"post","link":"https:\/\/bitpost.com\/news\/2006\/imagemagicks-convert-append\/","title":{"rendered":"ImageMagick&#8217;s [convert +append]"},"content":{"rendered":"<p>For automated command-line image processing, ImageMagick is the bomb.<!--more--> You can convert, resize, recolor, append, stretch &#8211; there are an unbelievable number of ways to play with images. Recently, I used the +append option of convert (the main ImageMagick command line tool) to patch together a couple different gif files with transparency. Here&#8217;s the command I used:<\/p>\n<div>\n<blockquote>\n<div class=\"code\">convert +append image1.gif image2.gif image3.gif image3.gif<\/div>\n<\/blockquote>\n<p>The &#8216;+&#8217; means append the images horizontally (&#8216;-&#8216; means vertically). I was appending the three images, replacing the third with the result (I thought). Well, it seemed to do the job and I moved on to placing the images with CSS to create the famed &#8220;rounded corners&#8221; image box (what I&#8217;m using for the post titles here). But things did not work as I expected. Six or seven rounded-corner CSS examples later (and I won&#8217;t admit how many days), I finally determined that the images were appended, but a lot of extra transparency was added as well, which really wreaked havoc with my CSS alignment math.  Something to watch out for anyway.<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>For automated command-line image processing, ImageMagick is the bomb.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[5,10,2],"tags":[83],"class_list":["post-126","post","type-post","status-publish","format-standard","hentry","category-linux-projects","category-tricks-tips-tools","category-chatter","tag-imagemagick"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9M11L-22","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/comments?post=126"}],"version-history":[{"count":1,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/126\/revisions"}],"predecessor-version":[{"id":1182,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/126\/revisions\/1182"}],"wp:attachment":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/media?parent=126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/categories?post=126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/tags?post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}