{"id":241,"date":"2006-09-09T23:26:25","date_gmt":"2006-09-09T14:26:25","guid":{"rendered":"https:\/\/regex.info\/blog\/2006-09-09\/241"},"modified":"2006-09-09T23:26:25","modified_gmt":"2006-09-09T14:26:25","slug":"adding-borders-to-photos","status":"publish","type":"post","link":"https:\/\/regex.info\/blog\/2006-09-09\/241","title":{"rendered":"Adding Borders to Photos"},"content":{"rendered":"\n<div class='img_right'><a href=\"\/blog\/2006-09-07\/240\"><img loading=\"lazy\" decoding=\"async\" src=\"\/i\/IMG04201_thumb.jpg\" width=\"300\" height=\"240\"\nborder=\"0\"\nclass=\"raw\"\nid=\"ithumb\"\nnoindex=\"1\"\/><\/a><\/div>\n<p>\n\nA commenter on my <a\nhref=\"\/blog\/2006-09-07\/240\">previous post<\/a> asked about\nhow <span class='nobr'>I make<\/span> the borders on the images <span class='nobr'>I post.<\/span>  I'll talk <span class='nobr'>a bit<\/span> about that here.\n\n<\/p><p>\n\nAt first I thought that it was wasteful of screen real-estate to add <span class='nobr'>a\nborder.<\/span> When printing <span class='nobr'>a picture<\/span> to hang on the wall, <span class='nobr'>I don't<\/span> add borders,\nbut I <b>do<\/b> use colored matting to compliment the picture. That's what\nI've got in mind when adding borders to images that <span class='nobr'>I post.<\/span>\n\n<\/p><p>\n\nThe real skill involved -- skill that <span class='nobr'>I don't<\/span> have much of -- is deciding\n<b>what<\/b> to do. <b>How<\/b> to do it is much easier.\n\n<\/p><p>\n\nI made a Photoshop action which does most of the work:\n<\/p>\n\n<ol>\n  <li><p>Set the image's color space to <a\nhref=\"http:\/\/en.wikipedia.org\/wiki\/SRGB\">sRGB<\/a>. Normally, <span class='nobr'>I shoot<\/span> in <a\nhref=\"http:\/\/en.wikipedia.org\/wiki\/Adobe_RGB\">Adobe RGB<\/a>.<\/p><p> sRGB is\na Microsoft color-space standard, and like most of what comes out of\nMicrosoft, it is technically inferior, but more popular, than other\noptions. <span class='nobr'>It's a del<\/span>-facto standard on the web, and while some browsers can\nauto-adjust for <span class='nobr'>a different<\/span> embedded color profile, IE doesn't, so I've got\nto downgrade the color encoding for <span class='nobr'>a general<\/span> audience.<\/p><\/li>\n\n<li><p>Make a duplicate copy of the background layer. This copy will become\nthe image actually seen within the border about to be added.<\/p><\/li>\n\n<li><p>Change the canvas size: add 30 pixels to both the width and the\nheight.<\/p><p>Most raw images I work with are about 3,000 pixels on <span class='nobr'>a side,<\/span>\nso this adds just <span class='nobr'>a small<\/span> 1% border. <span class='nobr'>I adjust<\/span> the size later, manually, to\nsuit the specific image.<\/p><\/li>\n\n<li><p>Add a black, solid-color fill layer between the background and the\ncopy. This renders the background layer irrelevant, with the copy now the\nimage that's seen. The newly-added fill layer is seen only around the\nedges, that is, it's the border. <span class='nobr'>I change<\/span> the color later, manually, to\nsuit the image.<\/p><\/li>\n\n<li><p>Change the Layer Style of the background copy by adding <span class='nobr'>a white<\/span>\n&#8220;outer glow&#8221;. <span class='nobr'>I sometimes<\/span> change this to a\n&#8220;stroke,&#8221; especially when <span class='nobr'>I intend<\/span> to make small\nversions.<\/p><\/li> <\/ol>\n\n\n\n<p>I take the trouble to do steps <b>2<\/b> and <b>4<\/b> because it allows\nme to change the border color later on, on the fly. <span class='nobr'>You can set<\/span> the color\nof the newly-expanded canvas when changing the canvas size, but once you do\nthe color is not easy to change. So, <span class='nobr'>I make a<\/span> pre-enlarge copy of the\nimage, which, unlike the background, does <i>not<\/i> expand when enlarging\nthe canvas, and throw <span class='nobr'>a solid<\/span>-color fill layer behind the copy.<\/p>\n\n<p>I then manually adjust the border color by adjusting the solid-color\nfill layer, usually by eye-dropping <span class='nobr'>a color<\/span> from the image and working from\nthere. <span class='nobr'>I futz around<\/span> with it <span class='nobr'>a lot<\/span> to get something that just seems to\nwork. <span class='nobr'>I also adjust<\/span> the color of the outer-glow (or stroke) around the main\nimage, to get something subtle.<\/p>\n\n<p>If I want to add a title, I'll make the border larger, especially on the\nbottom, then add the text. Title text usually gets <span class='nobr'>a subtle<\/span> outer glow or <span class='nobr'>a\ndrop<\/span> shadow, depending on the colors involved, to highlight it <span class='nobr'>a bit<\/span> from\nthe background. Yet, <span class='nobr'>I often<\/span> do the titles at less than 100% opacity, to\nkeep them <span class='nobr'>a bit<\/span> more subtle. <span class='nobr'>It's all a<\/span> judgement call.<\/p>\n\n<p>Even small borders can have a huge effect on an image's feeling. <span class='nobr'>The problem<\/span> <span class='nobr'>I have<\/span> as <span class='nobr'>a geeky<\/span> engineer devoid of even the most basic artistic\nsense, is in picking <span class='nobr'>a border<\/span> that has the <b>right<\/b> effect. <span class='nobr'>It happens<\/span> often that I'll revisit an image <span class='nobr'>I was<\/span> working on before dinner and\nbe totally turned off by the border that <span class='nobr'>I thought<\/span> was so great an hour\nago. <span class='nobr'>I really<\/span> have no clue what I'd doing.<\/p>\n\n<p>Here's a copy of <a href=\"\/blog\/2006-09-07\/240\" class='quiet'>yesterday's main image<\/a> with <span class='nobr'>a different<\/span> border:<\/p>\n\n<div style='margin-top: 20px' class='img_center'><a href=\"\/blog\/2006-09-07\/240\"><img loading=\"lazy\" decoding=\"async\" src=\"\/i\/IMG04201_sm2.jpg\" width=\"670\" height=\"524\"\nborder=\"0\"\nclass=\"raw\"\nid=\"ism2\"\/><\/a><\/div>\n\n<p>I really have no idea which one is better.<\/p>\n\n<p>Once the image is done, <span class='nobr'>I use Photoshop<\/span>'s <b>Save for the Web<\/b>\ncommand to write resized copies in the sizes <span class='nobr'>I intend<\/span> to use. <span class='nobr'>At this stage<\/span>\n<span class='nobr'>I doublecheck<\/span> that the text is readable at the resized copy. This\nsave-for-the-web step strips out most of the <a\nhref=\"\/blog\/2006-02-20\/152\">Exif<\/a> data from the image\n(including embedded thumbnails, which are wasteful of space). <span class='nobr'>I then run<\/span> my\nown little command which reinserts the main Exif data (date, location,\ngeo-data) back into the copies that I'd just saved.\n\n<\/p>\n\n\n\n\n\n","protected":false},"excerpt":{"rendered":"<p> A commenter on my previous post asked about how I make the borders on the images I post. I'll talk a bit about that here. <\/p><p> At first I thought that it was wasteful of screen real-estate to add a border. When printing a picture to hang on the wall, I don't add borders, but I <b>do<\/b> use colored matting to compliment the picture. That's what I've got in mind when adding borders to images that I post. <\/p><p> The real skill involved -- skill that I don't have much of -- is deciding <b>what<\/b> to do. <b>How<\/b> to [...]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,6],"tags":[],"_links":{"self":[{"href":"https:\/\/regex.info\/blog\/wp-json\/wp\/v2\/posts\/241"}],"collection":[{"href":"https:\/\/regex.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regex.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regex.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/regex.info\/blog\/wp-json\/wp\/v2\/comments?post=241"}],"version-history":[{"count":0,"href":"https:\/\/regex.info\/blog\/wp-json\/wp\/v2\/posts\/241\/revisions"}],"wp:attachment":[{"href":"https:\/\/regex.info\/blog\/wp-json\/wp\/v2\/media?parent=241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regex.info\/blog\/wp-json\/wp\/v2\/categories?post=241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regex.info\/blog\/wp-json\/wp\/v2\/tags?post=241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}