lecture eight
agenda
- photoshop filters
- manipulating text
- creating buttons
- slicing and saving web images
photoshop filters
- download a head shot image of your favorite politician or celebrity.
- launch Photoshop and open the image you downloaded; save it with a different name, so you don't have to worry about wrecking the original, which you might need later
- before applying each of the following filters, copy the original image onto a new layer. The end rsult should be a PSD file with six layers showing 6 different filter effects.
- in the Filter menu, apply the following filters:
- drag down to Artistic, and select Cutout. Experiment with the number of Levels, the Edge Simplicity, and the Edge Fidelity, then click on OK.
- drag down to Artistic, and select Sponge. Experiment with the Brush Size, the Definition, and the Smoothness, then click on OK.
- drag down to Brush Strokes, and select Sprayed Strokes. Experiment with the Stroke Length, the Spray Radius, and the Stroke Direction, then click on OK.
- drag down to Distort, and select Glass. Experiment with the Distortion, the Smoothness, and the Texture, then click on OK.
- drag down to Sketch, and select Chrome. Experiment with the Detail and the Smoothness, and then click on OK.
- drag down to Stylize, and select Emboss. Experiment with the Angle, the Height, and the Amount, then click on OK.
- once you have explored these filters, make another copy of the original image on a new layer and:
- experiment with some of the other filters.
- experiment with applying multiple filters to one image.
- experiment with selecting part of an image and filtering just the selection.
- Save your image.
more on filters:
extra credit:
Start creating a webpage mockup. Open the file called widget_layout_start.psd from your week08 materials and follow these steps:
- From the materials for week08, open the file navimage.psd.
- Apply a filter or series of filters to the home layer file.
- Copy the home image into the widget_layout.psd file and position somewhere on the page.
manipulating text
- Click on File and select New to create a new image:
- The image should be about 400 pixels in width by 200 pixels in height.
- The resolution should be 72 pixels/inch.
- The mode should be set at RGB colour.
- The Contents should be White.
- Using the Color Picker, select a foreground colour and fill in the image with that colour.
- Using the Color Picker, select a foreground colour for your text.
- Click on the Text tool in the tool palette. In the Options bar at the top of the Photoshop window do the following:
- Choose the font face you wish to use.
- Choose the font size you wish to use.
- Click in your image and type your name.
- If you're unhappy with the font face, size or colour, make sure you still have the Text tool selected, and you should be able to highlight the text and then change the settings in the Options bar.
- Once you are satisfied with the text, make sure the Text tool is still selected in the tool palette and right-click once on the image. Select Warp Text... from the menu that appears.
- Select one of the Warp Text styles from the Style feature. You should be able to see a preview of your image on screen.
- Once you have selected a Warp Text style, play with the Bend and Distortion options.
- Once you are satisfied with the style, bend, and distortion you want to apply to your image, click on OK.
- Make sure the Text tool is selected in the tool palette.
- Right-click once on the Text layer in the Layers box.
- Select Blending Options from the menu that appears.
- Experiment with different text-manipulation options in the Styles menu within the Blending Options box. To select a style and apply it to your image, click in the box to the left of the style. You should be able to preview the changes to the text on screen.
- Experiment with different General Blending and Advanced Blending options.
- Once you like the way the text looks, click on OK to set the changes. You should be returned to your image.
- Crop the image to a reasonable size - don't leave too much dead space around your name unless it looks really cool.
- Save your image.
more on typography:
extra credit:
Add text and headings to your mockup.
- Create a fancy heading for the WidgetWerks homepage.
- Create two separate areas for text content in your mockup: one for main content, one for news items. Type in fake news content or use this dummy text generator.
- Create separate text for a footer and style it differently (size, colour, etc.) than the main content.
creating buttons
- Click on File and select New to create a new image:
- The image should be about 400 pixels in width by 100 pixels in height.
- The resolution should be 72 pixels/inch.
- The mode should be set at RGB colour.
- The Contents should be White.
- In the Layers palette, click on the Create a new layer icon.
- In the new layer, use the Marquee tool and draw a rectangle.
- Use the Color Picker to choose a dark foreground color and a light background color.
- Select the Gradient Tool from the tool palette. Click in the top left corner of your image and drag to the bottom right.
- Click on Select, drag down to Modify and select Contract. In the dialog box that appears, enter 6 and click on OK.
- Select the Gradient Tool again from the tool palette. This time, click in the bottom right corner and drag to the upper left.
- Click on Select, drag down to Modify and select Contract. In the dialog box that appears, enter 3 and click on OK.
- Click on Select drag down to select Feather. In the dialog box that appears, enter 2 and click on OK.
- Select the Gradient Tool for the last time. Click in the top left corner of your image and drag to the bottom right.
- Click on Select and drag down to Deselect.
- Click on Image and drag down to Image Size.
- Set the width to 200 pixels; the height should automatically adjust.
- Click on OK.
- Use the Crop tool to crop out out dead space around your button.
- Use the Text tool to create text layers over top of the button.
- You can also experiment with Layer Styles:
- Create a new layer and fill it with your colour of preference.
- Click on Layer and drag down to Layer Style and then choose Bevel and Emboss.
- Experiment with the Structure and Shading settings and pay attention to the Preview to get a sense of how they will affect the button. Click OK.
- Note that you now have an effects layer in the Layers palette.
- Save your image.
more on buttons:
Buttons are increasingly being implemented with CSS techniques. Here are some cool Photoshop and CSS resources:
extra credit:
Add buttons to your mockup.
- Use the shape tool or marquee tool to create a coloured rectangle or rounded rectangle on a new layer.
- Add text on a new layer.
- Use blending options or filters to create an interesting effect for your button.
- Group the button layers into a set. Copy the set, and rename it to a new button name (e.g., home, partners, etc.).
- Change the text layer in the new set to reflect the new button set.
- Repeat these steps until you have multiple buttons for the WidgetWerks site. Arrange the buttons to form a navigation bar.
slicing and saving web images
You may follow these steps exactly, or continue to mockup your own version of the WidgetWerks site, using the steps below as a guideline for processing the pieces.
- Open the widget_layout_finish.psd file you downloaded from the week08 folder on the class server.
- If Guides are not currently visible, press Ctrl+; to show the guides.
- Hold down the Ctrl key and, in the Layers palette, click on the layer named top bar.
- Note that there is now a marquee around the top bar.
- Click in the Ruler in the top of the document and drag a new guide to the bottom of the top bar until it "snaps" in to place.
- Press Ctrl+D to deselect the top bar.
- Create a JPG file for the navigation picture:
- Make sure that Guides are still visible and select the rectangular Marquee Tool. Click and drag a marquee around the picture above the navigation. If the marquee does not snap to the guides, choose the Snap to Guides option in the View menu.
- Click on Image and drag down to Crop.
- Click on File and drag down to Save for Web...
- In the Save for Web... options screen, alter the image settings in the Settings area on the right side. Select JPEG from the dropdown menu and experiment with the quality options.
- When you are satisfied with the image, click OK in the top right corner.
- Save your image in a new folder named images. Name the image "home.jpg" or something else that will mean something to you when it comes time to insert it in a web page.
- Click on File and drag down to Revert.
- Create a GIF file for the partner button picture:
- Make sure that Guides are still visible and select the rectangular Marquee Tool. Click and drag a marquee around the "partners" button in the navigation bar.
- Click on Image and drag down to Crop.
- Click on File and drag down to Save for Web...
- In the Save for Web... options screen, alter the image settings in the Settings area on the right side. Select GIF from the dropdown menu and experiment with various settings.
- When you are satisfied with the image, click OK in the top right corner.
- Save your image the images folder you created earlier. Name the image "partners.gif" or something else that will mean something to you when it comes time to insert it in a web page.
- Save your image.
- Click on File and drag down to Revert.
- Repeat the above steps for each of the image "slices" defined by the guides.
more on creating websites from Photoshop files:
To be honest, you want to avoid using tables for layout. Here are some tutorials that show you how to go from PSD file to XHTML and CSS: