Sunday, November 16, 2008

Photoshop: Numeric values - things you did not know

To change numeric values in most dialogues in Adobe Photoshop, you can use one of these methods.
  • Type a new number.
  • Click on the label for the number and drag horizontally.
  • Command click on the number field itself, and drag horizontally.
  • Put the cursor in the number field and press or hold down arrow-up or arrow-down.

Photoshop - things you did not know

I will soon add a number of "things you did not know" entries about Photoshop. They will not constitute a manual in any way, but they will contain small tips and hints, which are not always obvious. If something is useful, but it is so well hidden that a user may miss it, it fits the concept. Some of you will obviously already know some or most of them, but some of you may not.

The option/alt/⌥ key is consistently called "alt".

The command/⌘ key is consistently called "command". The Windows equivalent is almost always ctrl.

Saturday, November 15, 2008

Bridge's raw xmp files

Whenever Adobe Bridge updates a raw file, it stores the data in an external "xmp" (Extensible Metadata Platform) file with same basic file name as the original. If your raw file is called "sunrise.nef", then the corresponding xmp file is "sunrise.xmp".

The idea behind this is excellent. The raw file contains exactly the data that came out of the camera and nothing else, and you can trust that nothing has been changed - by Bridge.

The drawback is of course that you have two files that need to stick together. If you move all files created a certain date from a folder, it is not at all certain that the raw and xmp files are created the same date, so they may get separated.

Nikon's Capture NX instead stores all modifications in the nef file itself. That may be seen as a drawback - a raw file is no longer what came out of the camera. However, there are ways inside Capture NX to remove the modifications, so it is not that much of a drawback.

Aperture has yet another approach. It stores the modification in its own database. When you export the Master you get the choice whether you want to include the IPTC data or not. The IPTC is the only data Aperture allows to change in a raw file. The rest of the image is intact, as it came out of the camera. Other changes need to be exported through other file formats, like tiff or jpeg.

Index of NEF files with keywords

There are plenty of good reasons to use RAW file format instead of jpeg. However certain things get trickier. One of them is keywords.

The great thing with metadata like keywords and IPTC fields is that you quickly can search your entire harddisk for files about a certain subject, taken at a specific location or by a specific photographer. You just have to make sure that the information is stored in your files.

That is fairly easy with JPEG files. You update the metadata with, for example, Bridge, and the files can be searched in Bridge itself, in Aperture or Spotlight.

However, if you update NEF files or other RAW files using Bridge, the data is not stored in the files themselves, but in the associated xmp files. This means that for example Spotlight does not find the image, but just the xmp file. Neither does Aperture see the field, if the file is imported to Aperture.

The only way I found to make sure that they keywords are found by both Bridge, Spotlight and Aperture, is to use Nikon's free application View NX to set the metadata.

This is a funny roundabout way of doing things as View NX itself does not have any search engine. In other words: you need to use one tool to set the metadata, and another to look for it. Well, that is how things work today anyhow.

Friday, November 14, 2008

Doing the Impossible with Smart Objects

Before CS3, there were plenty of things you simply could not do in Photoshop. With CS3 and the introduction of Smart Objects, a lot has become possible.

One (almost) obvious thing is that you can apply lossless filters. Just create a layer to a Smart Object and apply the filter. You can add loads of filters and remove or activate them, and of course edit them with Layer Masks.

Smart Object layer in Adobe Photoshop CS4

But not only that - you can now mix layers of different kinds. You can have one layer as a 16 bit image in LAB colour space, while you have another in 8 bit grey scale, and blend the two layers. You can even add RAW files using File > Place, so you have a RAW file layer, which will open for adjustments in Camera RAW every time you double click on it. This means that you can have an almost endless number of different image formats - all stored in the same file.

And if that is not enough, you can have one Smart Object contain another Smart Object that contains a third one and so on.

To have several instances of the same Smart Object, highlight the layer and press command-J. You can have as many instances of the same Smart Object as you like in a file. You can apply different kinds of layer styles and rotations and transformations of them. If you then update the Smart Object, for example by changing its colour, the modification will apply to all instances of that Smart Object in the file.

To replace the content of a Smart Object: Go to Layer > Smart Objects > Replace Contents....

You cannot edit the individual pixels in a Smart Object (unless you open it). However, you can make a copy of the Smart Object, for example with merging all visible layers to a new layer above the currently selected layer with Shift-option-command-E (or alt+ Layer > Merge Visible).

Thursday, November 13, 2008

Master a few tools well instead of many tools poorly

One of the marvellous things with Photoshop is that you can achieve the same thing in so many ways. That is also one of the sad things. You may rush around, trying to learn as many of the different tools as possible, and you end up being able to do the same thing over and over again, without acquiring the skills to do anything really well. Two things spring to mind in particular.

Blend modes. Some people claim that a great way of lightening a picture is to add the picture to itself as a new layer and applying, for example, screen blend mode. Likewise, it is alleged that multiplying a picture with itself is an excellent way of darkening it. Well, those methods definitely work, but they are not very flexible. You can equally well achieve the same thing using curves or levels on an adjustment layer. Using an adjustment layer takes much less disk space, and it is much more flexible, as you can choose in which way you want to darken or lighten the picture. There are admittedly quite a lot of flexibility with a duplicated layer as well, if you use Blending options, but no matter which way you use, you need to do some work to get it exactly as you like it.

Another thing that may be overrated is LAB colour space. It can be used for several things, one of them being to get more colour into a picture as described here. However, you can also get more colour into a picture using the adjustment layer Vibrance or Hue/Saturation. You may not get exactly the effect you get using LAB, but the effects you can get with LAB are not necessarily better. And LAB is very destructive. You have to change colour space for the full image, and once you have gone back to RGB, there is no way to go back to LAB to undo or modify the changes you made.

LAB has other uses of course, and so do Blend modes. The point is simply that it sometimes is more efficient to look at how best to use the tools you have and to master them well, instead of trying to find a solution in other tools.

Using new tools is often fun. Using old tools is often efficient.

Wednesday, November 12, 2008

Photoshop Masks - Trouble Shooting and Quick Keys

Sometimes it may feel like editing layer masks in Photoshop does not work. For example, the eraser tool may not erase. If that is the case, there are a few possible reasons and remedies.
  1. In a mask, erase and delete changes colour to the background colour. To make it erase from the mask, make sure black is the background colour. A quick way to do this, is to highlight the mask and simply press "D", which sets the foreground and background colours to their default values - white and black. (The default values for an image area are the opposite - black and white.)
  2. Make sure the mask is highlighted. (If it is not, edits will obviously go somewhere else.)
  3. If you have a selection, make sure it selects the thing you want to edit, and not the reverse. (shift-command-I).
Some keyboard shortcuts for working with masks:
  • To move a mask from one layer to another, just drag it.
  • To copy a mask from one layer to another, alt-drag it to the other layer.
  • To copy a mask from one image to another, drag the layer icon it is attached to to the other image. You cannot drag the mask alone.
  • To temporarily hide the effects of a mask, shift-click on it.
  • To make a selection from a mask, command-click on it.

Saturday, November 1, 2008

EXIF and IPTC

For a photographer EXIF and IPTC data can often be regarded as the same thing. They are collections of metadata that are attached to an image file.

However, they have different origins.

EXIF, Exchangeable Image file Format, was created by the Japan Electronic Industries Development Association to store camera specific data in files.

IPTC or IIM (Information Interchange Model), is a specification for adding metadata to a large number of file types. It was created by the International Press Telecommunications Council, which is a UK based organisation that works with standard for sharing news.

It is not always clear if a particular piece of information shall be stored as an EXIF field or an IPTC field.

HUD - what is that?

In for example Apple's Aperture, there is a HUD or Head-Up Display. (In Aperture, you activate it by simply typing "H".) This is a display of data on top of the current picture.

The name HUD originally comes from military aircraft. Before the HUD, the pilot had to quickly look down to read indicators, thereby taking attention from the view in front of him. With the HUD, the indicators were displayed on a transparent background just in front of the pilot, so he could read it at the same time as he was looking out the windscreen.

Friday, October 31, 2008

Copyright info and Aperture - EXIF or IPTC

With the firmware update 110 for the Nikon D300 one has the option to add a copyright note in the images, just like one could already before with the Nikon D3.

This is excellent news. It would have been even more excellent news if the information had been easy to find outside the world of Nikon.

There are now three fields to play with in the camera. They are all entered under the Setup menu.

1. Image Comment is entered under the menu heading "Image Comment".

2. Artist is entered under the heading "Copyright Information".

3. Copyright is also entered under the heading "Copyright Information".

If you use low end products like gimp (2.6.1), Preview or iPhoto (7.1.5), none of this information is to be seen anywhere.

The following explains how some more high end applications display the fields.

Image Comment
  • Aperture - field not visible.
  • Bridge CS2: "Camera Data (EXIF)". Field called "User Comment".
  • Capture NX: "Camera Settings" > "Shooting Info". Field called "Image Comment"
Artist
  • Aperture: EXIF field called "Artist". It does not seem to be visible unless you go in and customize the Metadata displays.
  • Bridge CS2: "IPTC Core", field called "Creator" AND "Camera Data (EXIF), field called "Artist".
  • Capture NX: "Camera Settings" > "Shooting Info". Field called "Artist"
Copyright
  • Aperture: Field not visible. There is a field in Aperture called "Copyright notice", but it is not filled with the information of the Copyright field in the D300.
  • Bridge CS2: "IPTC Core". Field called "Copyright notice".
  • Capture NX: "Camera Settings" > "Shooting Info". Field called "Copyright". (It is not under IPTC as it is in Bridge.)

In Nikon View NX all the three fields appear with the same name as in the Camera, but under the heading "File Info 2".

Spotlight finds information in the Image Comment field but not in Copyright or Artist.

Clearly Nikon's own software is the best option to view data entered using Nikon's cameras. If you happen to be somewhere without access to Nikon's software, you can look for dedicated EXIF readers that will fine at least some of the data. For example the free little application EXIF-O-Matic, is able to display the fields Artist and Copyright.