Essentials: 256 Shades of Grey

256shadesofgrey

Apologies if you were drawn to the post by the similitude a popular book/film but this knowledge isn’t likely to make your weekend any more fun. However, if you’re a novice or self-taught Photoshop user it’ll maybe make your workaday life a bit easier and you’ll probably have a bit more energy and enthusiasm for other things.

Before We Begin…

It isn’t necessary to know how the engine in your car (or on your motorcycle) works to be able to drive (or ride) but knowing little things like how it should behave or how it should sound, is really useful—and sometimes vital; ask any motorcyclist what is likely to happen going into a corner with the revs too low, although you can probably work that out for yourself. Photoshop can be a bit like that, and knowing at least a bit of what is going on “under the hood” can help you make more informed decisions about your edits. This post is the first of a series covering one of the fundamental aspects of any image you’ll come across in Photoshop, regardless of the colour model you’re working in: Channels.

Channels?

While you’re most likely creating full-colour work, you may be surprised to discover Photoshop is at its core a greyscale editor; that’s right, greyscale with black at one end (a value of 0) and white at the other (a value of 255) with 254 other varying shades of grey in-between, giving us a total of 256 shades of grey. When you make edits to a colour image in Photoshop, you’re actually individually affecting each channel separately, and then seeing the composite result. There are a handful of special case scenarios also: Bitmap, Multichannel (which kind of includes for our purposes Duotone, Tritone, Quadtone) and Lab—you’ll find out about how those work later on.

Aside: RGB and CMYK Editing

As a side note, this is one of the reasons why RGB workflows will almost always yield better quality images than working in CMYK. Every command-generated operation (adjustments, filters, etc.) will create some image noise; as an RGB image has three channels and a CMYK image has four, you’re potentially introducing about 30% more noise into your final result. If your process demands that you produce CMYK content, then at least make the conversion when you’ve done working on the image, and if you’re working end-to-end outputting your final result from InDesign, then explore PDF/X-4 options.

Bitmap

The bitmap colour mode is the exception to everything else, in that this carries strictly two levels of information whether a pixel is “on” (black) or “off” (white). This mode is most commonly used for “line” art, and typically when used in print has about four times the resolution of colour work, starting at 1200ppi and almost always originated at the dimensions it will be used at.

mono

In the image above, there are two representations of approximately the same area—indicated by the red box:

  • a is greyscale at 300ppi, magnified by 3200%. You can see how the differing shades of grey optically smooth out the curves.
  • b is bitmapped at 1200ppi, magnified by 1200% (the value is smaller as the image is larger) using a diffusion dither to simulate the greys. As the image can only have black or white pixels, a dithered pattern optically creates tones when viewed at size.

Greyscale

Open any RGB image, and go to Image > Duplicate… and click-through the dialog (that step isn’t completely necessary—although it is good practice—it’s just that I don’t want to be blamed for you accidentally damaging anything).

Now make the Channels Panel visible; it should be nested with the Layers Panel but if you can’t find it, go to Window > Channels. You’ll see at least four channels:

  • RGB—this is a composite channel that you usually work in, and is the combined result of the colour-map channels
  • R—this is a brightness (luminance) map of the intensities of red information in the image
  • G—likewise, a map of the intensities of green information in the image
  • B—you guessed it, this is a map of the intensities of blue information in the image.

If someone has been working on the image previously, it’s possible there may also be some Mask or Spot channels present, but you can ignore these for the time being.

Go to Image > Mode > Grayscale to convert your image, and just click “Discard” (or hit RETURN) if the conversion dialog pops up—this isn’t the best way to make a greyscale conversion, but we’ll look at that in a later post—and you’ll have a greyscale image; if you take a look at the channels, you’ll see there is now only one. The channel and the image itself now contain exactly the same information, 256 levels of grey, from 0 to 255 (remember that 0 is a number in computing).

Back to RGB

Undo the conversion, or go back to your original image. Now you can see all three colour-map channels again; click on each one in turn and you’ll see varying greyscale versions of your image; remember that these are maps of luminance in each channel, and at this point you may be a little confused as to what is happening here. Let’s do an exercise to try and make sense of it.

Exercise: Understanding RGB Channels

An exercise file is available for download to work along with this exercise: http://adobe.ly/1FLMwyr. If you’re interested it’s of one of the great recycled underground trains, used as studios on the roof of Village Underground on Great Eastern Street in Shoreditch.

In this example, we are going to use Layers to stand in for the channels, along with Blending Modes to make the magic happen. Each of the layers here contains exactly the same information that the channels would have in the “real” image, only that here you are seeing them in colour, rather than just as greys (you can view channels in colour by changing your preferences, but it doesn’t make any difference, and in my experience only serves to confuse beginners).

1redChannelTurn the layer visibility on and off for each layer in turn, to see how the information changes. Now make the Red “channel” layer active (click on it) and change the blending mode to Screen, using the drop-down in the Layers Panel (it’ll say “Normal” by default).

2redScreen

You’ll see some yellow and yellow-ish tones appearing in the image along with red and green colours—the next section will explain why.

Now make the Green “channel” layer active and again change the blending mode to Screen. You should now be seeing the full-colour image.

3redGreenScreen

So what is happening here? Let’s take a quick look at the basics of the RGB colour model and hopefully you’ll get a grasp on what Photoshop is doing.

RGB Colour

RGB is an additive model—additive because the maximum intensities of all the primaries combined (added together) equals white—and it is also very similar (but not identical) to the way that our own eyes work. It isn’t the easiest of things to explain but in training sessions I’ve had the most success with scenarios (even if they are quite wacky, as in the following example) so please indulge me, if you will.

Try to imagine that you are stood on a board, floating in space, and there are no stars. What colours would you see? None, right? Just blackness. You have three torches, one emits red light, one emits green light and one emits blue light. Turn on the Red torch and point it at the board you’re standing on, you’ll see red at maximum intensity in the middle of the beam and this will fall-off towards the edges of the beam.

01red

Now turn on your green torch, and lets the beams overlap. Where the beams are uninterrupted, you’ll see red and green, and where the maximum intensities overlap, you’ll see yellow; as the intensities decrease towards their edges you’ll see other reddish/greenish/yellowish tones.

02green

Finally, turn on the blue torch and you’ll see that the maximum intensity of the Red, Green and Blue primary colours, add together to make white.
03blue

The pure (maximum intensity) secondary colours created are:

Red + Green = Yellow

Blue + Red = Magenta

Green + Blue = Cyan

This is probably going against everything you learned about colour in primary school, but your teacher at the time would have been referring to paint mixing (we’ll deal with CMYK and ink mixing next time) so that information is worth holding on to, and you’ll find it really useful later on in this series. You should now see why there are three channels, and how those channels use luminance to create the colours you see in your image. Now what you need to know is how to use that information, and that is where we’ll be going in the next post. If you’ve any questions or comments, please post them using the comments box below, or on my Facebook page: facebook.com/TonyHarmerTraining

Tut: Make a Flexible Bubble in Illustrator

header image

In this post we’re going to take a look at a feature that’s especially useful for mappers and diagram-makers, a “flexibubble“. Imagine you were creating a diagram that had several call-out bubbles on it, some of which had one or two words and others that had considerably more. Drawing all of those bubbles could take ages, and what if you then had amendments that changed the amount of text? Enter the flexibubble (entirely made-up word, but let’s hope it catches on).

Having an idea of the average amount of text you’re expecting can help a bit here, as there are limits to just how far this can be stretched, but we’re unlikely to push them that far here.

Build Your Bubble

How you build this is entirely up to you, as there are of course a number of ways and as you’ll see there are loads of possibilities with this technique, but I’m going to use the simple callout style as in the header image above. I’ll be using Illustrator CC2014.1 for this tutorial, so I’ll be making use of some of the features there, although you could make the same thing in your version, it’ll just take you longer!

step1a

Draw a rectangle—do this at the smallest size you’re likely to need—and then use the corner widgets to round them off a bit. Draw your callout arrow—my preferred way of doing this is just to tap P on the keyboard and access the Pen Tool, use the Add Points feature by hovering over the line, add three points to the bottom of the shape then tap A to switch to the Direct Selection Tool and drag the middle point down a bit.

step2

Now add a bit of style, but I’m keeping it purposely pretty basic and you’ll see why shortly. My version has a linear gradient fill, and I’ve set the fill only to have 75% opacity, with the Multiply blending mode applied. I’ve also added a 7pt black stroke, and set the stroke to inside. All of this can be achieved in the Appearance Panel, as you can see in the screen grab below.

step3Enable the Flexibubble

If the Symbols Panel isn’t visible already, then choose Window > Symbols. Drag your bubble into the panel and a window will appear, inviting you to name the symbol—which is a good thing to do—and other options (which you can largely ignore as they relate to export for Flash) except for one: Enable Guides for 9-Slice Scaling, and that one is essential. If you’ve already clicked through, you can access the option again by going to the flyout on the Symbols Panel, and selecting Symbol Options… (make sure that the symbol is selected in the panel though).

step4So  the bubble you created will now be turned into a symbol if you double-click on it—don’t worry about the informational dialog that appears, just click through that—you’ll enter symbol editing mode, and you’ll see the dashed guides for 9-Slice scaling.

step5

Drag the guides as shown in the image above. What happens here is that the “corner areas” are preserved and do not stretch, but the remaining five slices can. This means that you can simply drag the bounding handles—with the Selection Tool—to make slim, wide, tall and short as desired; either alt-drag new instances or pull them directly from the Symbols Panel. Just pop an area text box on top and you’ve got flexible type too.

Graphic Styles for Extra Credit

If you need colour variations, special effects or anything like that, symbol instances will accept graphic styles. Either create your own, or choose from the many style libraries that ship with Illustrator. The really interesting thing is that with many styles, their effects appear underneath your own styling, as you can see with the examples below—a whole range of flexibubbles from just one symbol!

step6

So there we are, another great flexibkle technique, that works really well. It is worth mentioning that the only gotcha with this is that you can sometimes encounter problems if you go smaller in the height or width than the original symbol, when the areas that stretch become too small, but this is rarely encountered, especially if you’ve drawn it at the smallest size you’re likely to need.

 

 

Discover: Colour Lookups in Photoshop

In this post we’re going to take a quick look at Colour Lookup Tables, a really useful technique for quickly applying a colour “look” to any image, by transforming a range of input colour values into another range of colours. Originally (and this continues today) the film industry uses colour LUTs as a way to ensure that a certain look for the footage is achieved between applications, even if they didn’t share the same underlying math for processing.

Photoshop CS6 brought this great addition to the adjustments arsenal, and it can be a great time-saver plus in Photoshop colour LUTs can also be applied as adjustment layers, which also means that you can use blending modes too.

If you want to replicate the steps here, I’ve made a couple of files available for you to download from Creative Cloud: http://adobe.ly/16pWIx1 —although you could use any of your own files. We’re only going to do something really simple here but there’s a lot you can do with this technique—the best way to learn with it is to play!

In case you’re interested, the images are from Chloride, AZ. where two of my great friends and colleagues stopped by on a ghost town road trip last December. Open ChlorideA.psd and add a Curves adjustment layer, then pull that ol’ curve down in the midtones to make it all real contrasty, like (sorry dropping into character a bit there).

step1

Then add a Hue/Saturation adjustment layer, and from the presets menu at the top of the dialog, choose cyanotype.

step2

To wrap up our “look” we’ll add a Vibrance adjustment layer, and dial the adjustment down to about -22, to settle it down a bit.

step3

Now go to File > Export > Color Lookup Tables… and in the resulting dialog enter a name for your “look” and optionally choose a value from the Grid Points field—the higher the setting, the larger the file—or choose a preset (my example uses a Medium setting); leave all the formats checked. Next choose a location for the files—it may be better to create a new folder for each LUT you create as a number of files are created at this stage—and save the LUTs.

step4

Now open ChlorideB.psd, and click for a Colour Lookup adjustment layer (icon circled in the image below).

menu

Choose Load 3DLUT from the top drop-down and navigate to the folder you just saved your LUTs into. Select ChlorideA.3DL and presto! The same “look” is applied. Just like magic.

step5

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑