I thought I’d take a break from my usual ramblings about music and the arts for a quick little sidetrack into technology. So if you’re here to see what I think of the latest Woody Allen film (brilliant and Oscar-worthy!!) or were hoping to find a post about my newest photo (which features an anatomical view inside a giant kewpie)… come back later. Actually, that’s not entirely true; I’ll be using my latest photo as the backdrop for sharing a tip for using Aperture, Apple’s pro-level application I use to manage and adjust my photos.
Note!
If you’re not quite up to reading some of the background of how and why I decided to come up with this hack, jump down the page to the step-by-step instructions marked “How to copy Aperture brushes.” If you stick around, though, I promise to make your reading interesting…
I’ve been using Aperture since its very first version when it represented a nice step up from iPhoto. Aperture provided the ability to apply a much wider range of adjustments to your photos: definition, vibrancy, tweaking individual colors, and more. In those early days, adjustments were applied evenly across an entire image, so you had to be very, very careful that adjustments did not collide with one another. A deft hand was required, for example, to marginally adjust the yellow petals of a flower without the unfortunate side effect of making any people in the photo appear as though they had acquired Hepatitis-C.
The latest version of Aperture introduced the concept of brushes, which allow adjustments to be applied to very specific and well constrained areas of a photo without impacting the entire image. Think of Aperture brushes as the digital equivalent of applying an effect through a stencil that’s been placed over your image.
In typical Apple fashion, a “brush” is really just an easier-to-understand name for much more complex computer science principles like layers, alpha channels and… masks. Lots of other applications foist these decidedly unfriendly concepts onto poor unsuspecting users, then go the extra step by building cumbersome user interfaces around these powerful tools. Aperture’s not like that. Instead, you have a brush. Easy.
In my work, brushes have been both a blessing and a curse. Where in the past I had a finite set of tools for improving images en totale, I can now brush away to my heart’s content until EVERY LAST OBJECT ON THE SCEEEN has undergone the touch of my digital spell. It’s great!
Though the Aperture brush feature provides a convenient way to detect the edges of an object as the brush is moved around the screen, this feature is not so sophisticated that it takes on the geographic capabilities of a paint-by-number canvas. Adjustments frequently “paint outside the lines”, and to this end brush strokes can be erased, sized, and adjusted for softness and opacity.
I spend a lot of my postproduction time painstakingly outlining and filling in the dozens of irregularly shaped figures and objects that inhabit each of my photos. To illustrate, let’s take a look at a typical brushed in adjustment from my latest photo, Clinical study at the Mary Shelley School of Theologic Medicine.
In the image to the right you see a color overlay of the brush I applied to add a little definition to a tiny plastic figure of a circus performer. Brushing around the roller coaster of nooks and crannies that define the figure takes a lot of time, but once complete I’m confident that the adjustment being applied will take effect on the entire object; nothing more. Great! Looks good.
But what if I decide that the exact same object could benefit from another adjustment? Maybe a tweaking of the color tint or a touch of vibrancy? Surely, there must be a way to copy all that complex brushing from one adjustment to another.
Uh… no, there’s not.
Usually I just bite the bullet, set the screen zoom back up to 150%, and draw in the new brush as my fingers cramp and my shoulders scream. While working on the new piece, and faced with several regions of the photo that could benefit from multiple adjustments, I finally reached my “re-brushing threshold” and developed a nice little process for applying the same brushing mask to multiple adjustments, thereby GREATLY reducing the time that would have otherwise been required for postproduction.
Time to share!
Aperture applies each of its brushed adjustments through TIFF files, which (as stated earlier) act just like stencils. Each adjustment you make to a photo will have a corresponding TIFF file hidden away inside your Aperture Library. Change or move the TIFF files, and the area to which an adjustment is intended will change. The secret to copying a brush created for one adjustment, to a second adjustment, is finding the correct TIFF files and simply moving around some files. Easy!
Well, it’s not quite that simple… A single brushed in adjustment can actually result in many, many TIFF files, each representing your progress in applying brush strokes, resting your hand, and applying more brush strokes for the same adjustment. Aperture keeps all these intermediate “half brushed” files around, so… it’s important to find The One True TIFF for the adjustment you wish to duplicate.
How to copy Aperture brushes
Let’s dive right in and see how Aperture brushes can be copied from one image adjustment to another! For this example we’re going to be looking at one of my recent photos, Clinical study at the Mary Shelley School of Theologic Medicine. In this photo I wanted two different vignette effects — a subtle amount on objects in the foreground, but a much more aggressive effect on the background. I also wanted to apply edge sharpening over the background at different levels than I was anticipating for the foreground. So, for the background: two adjustments; one brush.
- First, the vignette effect was carefully brushed onto the background portion of the photo. You can see an overlay of the finished brushing below:
- Quit Aperture
- Open the Finder and locate your Aperture Library
- Select the Aperture Library and control-click to show the pop-up menu of things you can do with the selected file
- Choose Show Package Contents from the pop-up menu to open the folder containing the package contents of your Aperture Library
- Select the Masks folder and choose Find from the File menu
- Specify that you want to search in “Masks” and you want to search for “Last modified date” is “today”
- Move to the directory that contains Aperture’s brush masks. The easiest way to accomplish this is to enter the following into the terminal window:
cd /Users/yourusername/Pictures/Aperture\ Library.aplibrary/Masks
- Search for all of the files that have been modified during the past 30 minutes:
find . -mtime -30m -ls
The results will be output to Terminal as a Unix file listing, which includes the date and time that each of the files (and directories) was last modified. It should look something like this:
726528 0 drwxrwxrwx 5 jpurlia staff 170 Jan 31 10:10 ./0/0v 5062687 160 -rw-r--r-- 1 jpurlia staff 80706 Jan 31 10:10 ./0/0v/0vnnvhr5TpGemd6ul6ltzg.tiff 733809 0 drwxrwxrwx 4 jpurlia staff 136 Jan 31 10:08 ./s/s7 5062669 112 -rw-r--r-- 1 jpurlia staff 55530 Jan 31 10:08 ./s/s7/s7Hgm3rPQZOtML0rDigiVA.tiff
Yuck, right? From this information you’ll need to look at those timestamps and the path to the file that contains the elusive TIFF file. In the example above, the most recent TIFF file was modified at 10:10AM on January 31st. The information that follows is the path to that file, which we see is in a directory named:
0v
which itself is inside another directory named:
0
You’ll then need to navigate to that subfolder within “Masks” to find the file — in this case, the file named:
0vnnvhr5TpGemd6ul6ltzg.tiff
Yep… pretty darn annoying.
- At this point it is a good idea to make a copy of the TIFF file and move the copy to a safe place for later use. I like to maintain an Adjustment Masks folder (in the Finder’s file system and outside of Aperture) for each of my photos for this very purpose. Don’t forget to option-drag when moving the file, otherwise your original brush will be lost!
- I also like to rename the file to something that will be easy to find when I want to apply a new adjustment to the same region of the photo. In the image below, the name of the file has been changed to Background Object.
- Open Aperture
- Select or add the adjustment brick that is to have the identical brushed region as your saved TIFF file
In the image above I am adding a the Edge Sharpen adjustment that I only want applied to the background — the exact same region that just received the prior Vignette adjustment.
- Give your brush a nice wide radius and quickly brush in an easily recognizable shape like a big ‘X’, a circle, or a square
- Quit Aperture (once again)
- If you’ve closed the previously opened Package Contents of the Aperture Library you’ll need to reopen it and once again navigate to the Masks folder
- Choose Find from the File menu
- Open the folder that contains our quickly rendered brush by control-clicking on the icon and selecting Open Enclosing Folder from the popup menu
- Copy the previously saved TIFF file for the original adjustment into the folder containing the TIFF file for the new adjustment. Again, option-drag is your friend!! You want a copy, not necessarily the original file.
- Rename the saved file to match the name assigned to the file created for the new adjustment
- Delete the file Aperture had created for the new adjustment
- Select and Copy the name of the smiley face file: %bjGyLKoRLO9K6M06AIP1Q.tiff
- Drag the smiley face file to the trash
- Select the name of the saved file: Background Object.tiff
- Paste to change the name of the saved file to: %bjGyLKoRLO9K6M06AIP1Q.tiff
- Press ‘Enter’ to complete the file name
- Open Aperture
- Select the Edge Sharpen adjustment we had previously brushed in with a smiley face
- Turn on the Color Overlay for the brush, and…
Wow, thanks! I will name my firstborn after you. :o)
Seriously, this will save a lot of time. Thanks for the writeup!
Great find! The brush feature is great, but to hobble it so badly by not being able to reuse masks is just dumb.
Nice post, well written. I’m going to use this like crazy. Thanks.
John,
if only I had found this hundreds of long hours of masking before… I kept telling myself “this is stupid, there HAS to be a way around masking her face AGAIN!!” Duh. Pretty nice hack – if it weren’t for the need to open and shut the program twice, I would say it was quick, too. Super job, especially the tip regarding adding a small invisible edit to an old mask to make it surface as a “today” file so that it may be quickly differentiated from it’s earlier, and thus lesser, peers.
Many thanks!
-peter
Thanks!! I appreciate the feedback. Sometimes, less is more.
John,
Wonderful writeup. I wished I’d found this a few weeks ago – it would have lowered the learning curve wrt the innards of the Aperture package layout.
I too was tied of brushing in detailed masks for each adjustment. I wrote an AppleScript to do the work of finding the masks and copying them vs. your Finder based method. More user-friendly, I think. My script also allows you to “lift once, stamp many”, meaning you can deal with multiple adjustments and only restart Aperture once.
Check it out.
http://sdaven.blogspot.com/2013/01/brush-mask-lift-and-stamp.html
Wearing jewelry the colour of the charka you
are healing will also help. Chrysocolla is an amorphous type of crystal and usually contains some
amount of aluminum and quartz. Additionally, (9) An internet
kill switch approval for the U.
To search tiff images with Mavericks using Finder you should press “+” button near Save button in top right corner then select “System files” and then “are included”.
Thank you for the great article!
It’s impressive that you are getting thoughts from this post as well as from our argument made at this
place.