1 using photoshop cs3 using dreamweaver, photoshop, and fireworks: graphics production for the web ...

22
1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web http://www.stanford.edu/group/csp/cs38/ Obtaining Information Canvas Size vs. Image Size Cropping an Image Changing Image Size Rotating an Image Adjusting the Color of an Image Drawing Tools Using the Paint Bucket to Change or Add Color to a Region Blurring, Smudging, and Sharpening Images Dodging, Burning, and Sponging Images Using the Clone Stamp tool Adding Text to an Image Using Filters Saving and Optimizing Images

Upload: ashlyn-wilkinson

Post on 23-Dec-2015

234 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

1

USING PHOTOSHOP CS3

Using Dreamweaver, Photoshop, and Fireworks:Graphics Production for the Web

http://www.stanford.edu/group/csp/cs38/

• Obtaining Information• Canvas Size vs. Image Size• Cropping an Image • Changing Image Size• Rotating an Image• Adjusting the Color of an Image• Drawing Tools• Using the Paint Bucket to Change or Add Color to a Region• Blurring, Smudging, and Sharpening Images• Dodging, Burning, and Sponging Images• Using the Clone Stamp tool• Adding Text to an Image• Using Filters• Saving and Optimizing Images

Page 2: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

2

Obtaining InformationWhen a graphic is viewed in Photoshop, the program offers information about the amount of disk space the graphic uses.

In this example, the su.gif graphictakes up 1.86 K of disk space.

By default, Photoshop uses inches to describe the size of an image.

On the Web, however, pixels are used. To configure Photoshop to use pixels, select the Units & Rulers preference (Edit > Preferences > Units & Rulers) and change the Rulers field to pixels.

Page 3: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

3

Obtaining More Information

• The Info window (Window > Info) provides detailed color information about each pixel in the graphic. Placing the cursor at a specific spot on a graphic will display the color (in RGB code – Red Green Blue) for that spot. In the example below, at location 28x28, the color is 254,0,0.

Page 4: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

4

Canvas Size vs. Image Size

• In graphic programs, the canvas is the work space around and including the image. Photoshop’s Canvas Size window (Image > Canvas Size) provides information about the size of the graphic’s canvas. It also allows the graphic designer to change the size of the canvas.

• The Image Size window (Image > Image Size) provides information about the size of the image. It also allows the graphic designer to change the height and width of the image.

Page 5: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

5

Cropping an Image

1. Select the Rectangular Marquee Tool.2. Draw a box around the area to be cropped.3. Under Image, select Crop. The new dimensions for the image will be

displayed in the Info window.

Page 6: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

6

Changing an Image’s Size

1. Under Image, choose Image Size.2. Enter the new height/width desired, and press OK to

finalize the change of size.

Page 7: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

7

Keep this chart in mind when choosing image size

Monitor Resolution* Maximum Size of Material (Width x Height)

WebTV (TV set) 544 x 738

640 x 480 600 x 300

800 x 600 760 x 420

1024 x 768 955 x 600

*Monitor Resolution can be set at:- Windows: Start > Settings > Control Panel > Display > Settings - Mac OS X: System Preferences > Displays > Display - Mac OS 9: Control Panels > Monitors > Resolution

If you already added this graphic to your web page before changing its size, you will need to change the height and width attributes in the source code. In Dreamweaver, this is done by clicking the Reset Image to Original Size icon in the Properties palette.

Page 8: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

8

Rotating an Image

1. Open the image you wish to rotate in Photoshop.2. Under Image, choose Rotate Canvas, and then the

transformation desired.

Page 9: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

9

Adjusting the Color of an Image

Under Image, choose Adjustments, and select the adjustment desired:

Before Image>Adjustments>Invert After

Page 10: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

10

Drawing Tools

Brush: Used to paint brush strokes in a bitmap graphicPencil: Used to draw 1-pixel wide lines or to edit single pixels. This tool is accessed by

clicking the mouse button on the Brush Tool and selecting the Pencil Tool (Brush > Pencil Tool).

Pen: Used to draw by placing points that define a pathFreeform Pen: Used to paint paths in a vector graphic. This tool is accessed by clicking

the mouse button on the Pen tool and selecting the Freeform Pen Tool (Pen > Freeform Pen Tool).

Rectangle: Used to draw rectanglesRounded Rectangle: Used to draw rectangles with rounded corners. This tool is accessed

by clicking the mouse button on the Rectangle tool and selecting the Rounded Rectangle Tool (Rectangle > Rounded Rectangle Tool)

Elipse: Used to draw circles and other elipses (Rectangle > Elipse Tool)Polygon: Used to draw multi-sided objects. To select the number of sides, select the

Polygon Tool. Then, in the toolbar, in the Sides field, enter the number of sides desired. (Rectangle > Polygon Tool)

Line: Used to draw straight lines. (Rectangle > Line Tool)Custom Shape: Used to draw a custom shape.

(Rectangle > Custom Shape)

Page 11: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

11

Using the Drawing Tools

• After selecting a tool, in the toolbar region, select the color, size, and style of the drawing tool as appropriate.

• Draw by clicking and dragging the mouse. The example below shows a frame drawn using the Line Tool

Page 12: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

12

Using the Paint Bucket to Change or Add Color to a

Region

1. Select the Paint Bucket Tool (Gradient > Paint Bucket Tool)2. Select a foreground color by clicking Set foreground color, then

selecting a color.

3. Click on the object or region you wish to color.

Page 13: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

13

Blurring, Smudging, and Sharpening Images

Photoshop has several tools to affect the pixel focus and the colors in images. • The Blur tool lets you emphasize or de-emphasize parts of an image by selectively

blurring the focus of elements. • The Sharpen tool (obtained by clicking the mouse button on the Blur tool and

selecting the Sharpen tool) can be useful for repairing scanning problems or out-of-focus photographs.

• The Smudge tool (obtained by clicking the mouse button on the Blur tool and selecting the Smudge tool) lets you gently blend colors, as when creating a reflection of an image.

To blur, sharpen, or smudge an image:1. Choose the Blur, Sharpen, or Smudge tool. 2. Drag the tool over the pixels to be sharpened, blurred, or smudged.

Page 14: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

14

Dodging, Burning, and Sponging Images

The Dodge Tool is used to lighten parts of an image.The Burn Tool is used to darken parts of an image.The Sponge Tool is used to gently remove parts of an image

(like applying a sponge to a painting)

To use the Dodge or Burn tool:1. Select the tool (both are obtained by clicking the

mouse button on the Dodge tool and selecting the Dodge or Burn tool).

2. Set the brush options in the Options Window: – Brush sets the size and hardness.– Range sets the range:

• Shadows changes mainly the dark portions of the image.• Highlights changes mainly the light portions of the image.• Midtones changes mainly the middle range per channel in the image.

– Exposure sets the exposure:• The exposure ranges from 0% to 100%. For a lessened effect, specify a lower percentage value; for a

stronger effect, specify a higher value.

3. Drag over the part of the image you want to lighten or darken.

Page 15: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

15

Using the Clone Stamp toolThe Clone Stamp tool creates a duplicate of part of the image you select (a clone). You can then place that image over another image or a different part of the same image. You can also clone part of one layer over another layer. Each stroke of the tool paints on more of the sample. The Clone Stamp tool is useful for duplicating an object or removing a defect in an image.To use the Clone Stamp tool, set a sampling point on the area you want to copy over another area. Then, click and drag the mouse to paint that section onto the new area.Because you can use any brush tip with the Clone Stamp tool, you have a lot of control over the size of the area you clone. You can also use opacity and flow settings in the options bar to finesse the way you apply the cloned area. You can sample from one image and apply the clone in another image, as long as both images are in the same color mode.

In this example, we added an extra flowerto the vine by sampling the flower and then cloning it below:

Page 16: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

16

Adding Text to an Image

1. Click the Horizontal Type Tool.2. Click and drag to draw a rectangle around the area in

which you wish the text to appear.

Page 17: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

17

Adding Text to an Image (continued)

3. When the cursor appears in the text area, enter the text. In the toolbar, choose the properties desired:

Page 18: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

18

Using Filters

• Filters change the look of your images. They can make images appear like impressionistic paintings or mosaic tiles; they can add unique lighting or create distortions. You can also use filters to clean up or retouch your photos. The filters provided by Photoshop are listed in the Filter menu. Additional filters are available as plug-ins from third-party developers. Once installed, the names of these plug-in filters appear at the bottom of the Filter menu.

• To use a filter, choose the appropriate command from the Filter menu. These guidelines can help you in choosing filters:

– Filters are applied to the active, visible layer of a selection.– For 8-bits-per-channel images, most filters can be applied cumulatively through the Filter Gallery

(Filter>Filter Gallery). All filters can be applied individually.– Filters cannot be applied to Bitmap-mode or indexed-color images.– Some filters work only on RGB images.– All filters can be applied to 8-bit images. – The following filters can be applied to 16-bit images:

Liquify, Average Blur, Bilateral Blur, Blur, Blur More, Box Blur, Gaussian Blur, Lens Blur, Motion Blur, Radial Blur, Sampled Blur, Lens Correction, Add Noise, Despeckle, Dust & Scratches, Median, Reduce Noise, Fibers, Lens Flare, Sharpen, Sharpen Edges, Sharpen More, Smart Sharpen, Unsharp Mask, Emboss, Find Edges, Solarize, De-Interlace, NTSC Colors, Custom, High Pass, Maximum, Minimum, and Offset.

– The following filters can be applied to 32-bit images: Average Blur, Bilateral Blur, Box Blur, Gaussian Blur, Motion Blur, Radial Blur, Sampled Blur, Add Noise, Fibers, Lens Flare, Smart Sharpen, Unsharp Mask, De-Interlace, NTSC Colors, High Pass, and Offset.

– Some filters are processed entirely in RAM. If all your available RAM is used to process a filter effect, you may get an error message.

Page 19: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

19

Filter examples

Examples of Filters:– Simulating static on a TV screen using Add Noise

– Correcting images that are blurry by using Sharpen

– Softening an image using Blur

Page 20: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

20

Saving and Optimizing Images

The best choice for saving images in Photoshop is to use the Save for Web option.

1. Under File, choose Save for Web.2. Select 4-up to display four different versions of your picture. 3. Pick the one that is the most optimized – the version that is

smallest in size but still looks decent – for your web page. In this case, since they all look approximately the same, we pick the one that has the smallest disk size.

4. Then, click Save.5. In the Save Optimized As field, choose the location of the local

files for your Dreamweaver Site, then click Save. If you are replacing an existing file, in the Replace Files field, click Replace.

6. Under File, prefer Close.

Page 21: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

21

Step 1:

Steps 2and 3:

Step 4:

Page 22: 1 USING PHOTOSHOP CS3 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web  Obtaining Information

22

Step 5:

Step 6: