Humanities Home page   Office of Digital Humanities
Back     BYU LiveCode Lessons Gateway

Notes for Introduction to Photoshop tutorial.

Photoshop is the premier bitmap image editing application; it is not intended for creating and editing vector graphics (i.e., painting, not drawing; in LiveCode terms, it lets you edit images, not graphics.) There are other applications that do many of the same things as Photoshop at a far lower cost, including GIMP, a free, open-source project, and Sumo Paint, a flash-based image editor that runs in your browser (see http://www.sumopaint.com). Many of the editing principles you use in Photoshop will transfer over to other applications.

Terminology

Antialias
Jaggie killer, line smoother. Smooths straight edges of a bitmap by adding shades of similar gray or color to the edges of the line.
Gradient
A smooth blending of shades from light to dark or from one color to another.
Aspect ratio
The ratio of the width to the height of an image, video, etc. 4:3 was the traditional aspect ratio for standard-definition TV and computer monitors, but the newer, high-definition TV standard is 16:9, or 1.78:1. Most new computer monitors have also adapted this aspect ratio.
Alpha Channel
The portion of each pixel's data reserved for transparency. Enables varying levels of transparency in an image. Allows for semi-transparent shadows, highlights and other effects.
Bitmap image
A type of graphic composed of pixels, or picture elements in a grid. Each pixel has its own color and alpha channel information. Bitmap images have a fixed resolution and can become distorted when resized. Bitmap images are sometimes referred to as raster graphics.
Vector graphic
Resolution-independent, scalable graphic composed of individual objects that are defined by mathematical calculations. Vector graphics can be resized without loss of quality.
Lossy compression
Compression algorithm applied to a bitmap image file, which, in addition to reducing the file size, also causes a reduction in the quality of the image. JPEG is a lossy compression.
Lossless compression
Compression algorithm applied to a bitmap image file reduces the size size of a file while preserving the full quality of the image. GIF and PNG formats use lossless compression.
Gamma correction
From http://www.libpng.org/pub/png/pngintro.html:
"Gamma correction basically refers to the ability to correct for differences in how computers (and especially computer monitors) interpret color values. Web authors in particular are probably aware that Macintosh-generated images tend to look too dark on PCs, and PC-generated images tend to look too light on Macs. An image that looks good on an SGI workstation won't look right on either a Macintosh or a PC, and even a PC-created image won't look right on all PCs.
"Gamma information is a partial solution. It's a means of associating a single number with a computer display system, in an attempt to characterize the tricky physics lurking within a graphics card's digital-to-analog converter (RAMDAC) and within a monitor's high-voltage electron gun. Gamma is only an approximation; a better approximation is to use so-called chromaticity values (also supported by PNG) as well as gamma, but even this is an approximation. The absolute best solution currently available is to use a complete color management system (which, again, PNG supports via the sRGB extension chunk). For most people, however, just supplying the gamma value of the image and correcting for the corresponding gamma value of the monitor system is sufficient."
LiveCode allows you to set a gamma correction on your images via the screenGamma property. It must be set before an image is displayed for it to have any effect on the image. A very common gamma setting for computer monitors is 2.2.

Important tools

Photoshop tools palette Basic image manipulation

Selection tools
Selection modes (on toolbar at top when one of the selection tools is active)
Selection mode tools
  1. new selection
  2. add to selection (shift key to quick-select this mode)
  3. subtract from selection (alt/option key to quick-select this mode)
  4. intersect with selection (shift + alt/option key to quick-select this mode)
Painting Tools
photoshop layers palette

Concept of layers

The way that Photoshop allows you to keep different bitmapped elements separate from one another, thus making it possible to edit elements separately. Control layers from the Layers palette.


Photoshop Layer Effects Window

Each layer can have various "Effects" applied that don't affect the other layers.

Layers and effects can be hidden and shown to create various "states" of the image.

Layer effects available in Photoshop include all of the graphic effects familiar to LiveCode users, plus several others. In addition, the level of control over effects is far superior in Photoshop, as one would expect from a professional grade, dedicated image editing application.


History and undo

photoshop history palette

Undo the last action with Command (Control) - Z.

History palette keeps track of a limited number of changes (you can specify this number in Preferences.) Allows you to take out or restore any series of changes to compare to a previous state.

History Snapshots: Use the snapshot (camera) icon at the bottom of the history palette to save states of your document in case you want to revert after many changes.


Photo Correction and Touchup

photoshop color picker

Choosing Colors

RGB vs. HSB vs. CYMK

RGB:
setting the Red, Green and Blue color channels to create the exact color you want. This is the most common method used for choosing computer screen (as opposed to print) colors.
HSB:
setting the Hue, Saturation and Brightness to create the exact color you want. It's an alternative method to RGB.
CYMK:
setting the Cyan, Yellow, Magenta, and Black (K) color channels to create the exact color you want. Used most commonly in the print world.

Drawing shapes.

Shape tools - 3 modes

Photoshop shape tool modes

Drawing an unfilled shape - 2 methods:

marquee tools
Method 1. Using selection and stroke tools.
  1. Use one of the marquee tools (rectangular or elliptical) to draw the desired shape.
  2. Choose Edit menu > Stroke...
  3. Set options: width, color, location blending. Click OK
  4. Unselect (Cmd-D)
For rounded rect, after marquee tool, choose Select menu > Modify > Smooth. Choose radius, click OK. Then follow steps 2 - 4.
Drawback of this method: curved edges not smooth (not antialiased).
round rect tool
Method 2. Using the shape tool. A bit more complex, but produces antialiased edges.
  1. Create a new layer (Layer menu > New > Layer).
  2. Choose the rounded rectangle option of the shape tool.
  3. Choose Fill Pixels mode on the toolbar. shape modes
  4. On the toolbar, set opacity to 100% and check the antialias box. antialias checkbox
  5. Drag the mouse pointer to create the desired shape and size of rectangle.
  6. In the layers palette, directly below the opacity slider, is the "Fill" slider. Set it to 0%.
  7. Bring up the "Layer Style" dialog (usually by double clicking in an empty area on the layer.)
  8. Select the "Stroke" option from the left menu, make sure it's checked. Adjust your stroke settings as desired.


Back     BYU LiveCode Lessons Gateway
Maintained by Devin Asay.
Copyright © 2005 Brigham Young University