This post originated from an RSS feed registered with Java Buzz
by Paul Brown.
Original Post: Commandline Trick for Classier Digital Prints
Feed Title: mult.ifario.us
Feed URL: http://feeds.feedburner.com/MultifariousCategoryJava
Feed Description: Software. Business. Java. XML. Web Services.
When I used to print my own photos, I would usually lay out the image on the paper so that it printed full-frame with a thin, regular black border. Getting digital prints in a similar fashion requires a little effort, since the various internet photo services print only in typical sizes (5x7, 8x10, etc.) and mindlessly crop images to the proportions of the paper (as opposed to the 3x2 proportions of a 35mm negative or my digital camera).Fumbling around with GIMP is one way to go, but a little scratch paper (for arithmetic) and Imagemagick make it almost too easy to get full-frame prints on off-proportion paper.For example, starting with an 1120x840 TIFF image, the following command adds the black border:pbpook:/tmp> convert -border 10x10 -bordercolor black kinkakuji_01.TIF foo.tifAnd the following adds a white border that fills the image out to 1200x960 (which is a multiple of 10x8):pbpook:/tmp> convert -border 30x50 -bordercolor white foo.tif kinkakuji_01_border.tifThe difference in the overall presentation is significant (if you ask me): The black border is meant to represent an 8x10 print. (The building in the picture is Kinkakuji.)