{"id":287,"date":"2007-02-04T09:40:10","date_gmt":"2007-02-04T13:40:10","guid":{"rendered":"http:\/\/auroralux.net\/blog\/2007\/02\/04\/no-photoshop-batch-workflows-no-problem\/"},"modified":"2007-02-04T11:37:03","modified_gmt":"2007-02-04T15:37:03","slug":"no-photoshop-batch-workflows-no-problem","status":"publish","type":"post","link":"https:\/\/fhmiv.net\/blog\/2007\/02\/04\/no-photoshop-batch-workflows-no-problem\/","title":{"rendered":"No photoshop? Batch workflows no problem!"},"content":{"rendered":"<p>I&#8217;ve been helping my mom out a bit lately with the website for her artwork, <a href=\"http:\/\/zeninkart.com\/\">Voice of Flying Ink<\/a>. It includes a few galleries of her works in a simple table of thumbnails layout. It&#8217;s reasonable that occasionally she&#8217;ll want to put up some new pictures, which involes scaling and padding the original to two different sizes, zoomed and thumbnail. I bet Photoshop has some kind of batch processing wizard to make that easy, but I don&#8217;t have Photoshop, so I looked around for another way. <\/p>\n<p>I first thought to try Automator. I was able to scale and pad a photo, but it&#8217;s critical I be able to choose the padding color, and I wasn&#8217;t able to do that with the Automator actions I had available. Apple&#8217;s Pad Image action doesn&#8217;t let you set the color, and apparently no one else has thought of this yet, or at least, if they have, Google can&#8217;t find it. <\/p>\n<p>I next turned to Quartz Composer, and found it pretty easy to write an action to scale pad a whole directory of images with almost no code &#8211; I probably could have actually used no code, but I&#8217;m a programmer and sometimes it&#8217;s easier for me to just script something up than to figure out how to do it with a GUI. Unfortunately, I can&#8217;t figure out how to save images from Quartz Composer to a file. <\/p>\n<p>Next, I tried ImageMagick, which involves the command line, but it was relatively easy but not very cool. It works and that&#8217;s what I&#8217;ll do for now, but &#8211; <\/p>\n<p>I&#8217;d like to solve this by wrapping my QC composition in an Automator action. The Automator action would take a file as input and as output, and the QC composition could do whatever you want it to do. I might even be able to allow the user to set the composition; then you could do ANY kind of image processing possible with QC, as part of an Automator workflow. Fun! <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been helping my mom out a bit lately with the website for her artwork, Voice of Flying Ink. It includes a few galleries of her works in a simple table of thumbnails layout. It&#8217;s reasonable that occasionally she&#8217;ll want &hellip; <a href=\"https:\/\/fhmiv.net\/blog\/2007\/02\/04\/no-photoshop-batch-workflows-no-problem\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[11],"_links":{"self":[{"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/posts\/287"}],"collection":[{"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/comments?post=287"}],"version-history":[{"count":0,"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/posts\/287\/revisions"}],"wp:attachment":[{"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/media?parent=287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/categories?post=287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fhmiv.net\/blog\/wp-json\/wp\/v2\/tags?post=287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}