Chapter 17
This presentation is the property of its rightful owner.
Sponsored Links
1 / 33

Chapter 17 PowerPoint PPT Presentation


  • 64 Views
  • Uploaded on
  • Presentation posted in: General

Chapter 17. Creating Images for the Web. Chapter Lessons. Learn about Web features Optimize images for Web use Create a button for a Web page Create slices in an image. Creating Images for the Web. Create images for use on the Web Create buttons and other features unique to Web pages.

Download Presentation

Chapter 17

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Chapter 17

Chapter 17

Creating Images for the Web


Chapter lessons

Chapter Lessons

  • Learn about Web features

  • Optimize images for Web use

  • Create a button for a Web page

  • Create slices in an image


Creating images for the web

Creating Images for the Web

  • Create images for use on the Web

  • Create buttons and other features unique to Web pages


Photoshop and the web

Photoshop and the Web

  • Use Photoshop to create the images

    • Add interactive functionality to images that will be viewed on the Web

    • Divide images into smaller, more manageable parts

    • Create efficient Web-ready files


Previewing in the browser

Previewing in the Browser

  • Preview Web effects in a Web browser:

    • Click the Preview in Default Browser button in the Save for Web dialog box


Understanding slices

Understanding Slices

  • Divide a Web site image into smaller sections called slices

  • Use a slice to assign special features to specific areas within an image:

    • Links

    • Animations


Animations

Animations

  • An image sequence:

    • Simulates an object moving on a Web page

  • Create an animation by:

    • Making slight changes to several images

    • Adjusting the timing between the appearance of each image


Converting an image to html

Converting an Image to HTML

  • HTML is the language used to create Web pages

  • Slices in an image become cells in an HTML table

  • Animations become files in object folders


Optimize images for web use

Optimize Images for Web Use

  • Optimizing means:

    • Saving a file in a Web format that balances the need for detail and accurate color against file size

  • Optimize an image to reduce file size and make an image Web-ready


Image comparison

Image Comparison

  • Compare an image in the following common Web formats:

    • JPEG (Joint Photograph Experts Group)

    • GIF (Graphics Interchange Format)

    • PNG (Portable Network Graphics)

    • WMBP (Bitmap format used for mobile devices)

    • Mobile development (currently evolving)


Save for web dialog box

Save For Web Dialog Box

  • Original View Tab

    • Displays the graphics without any optimization

  • Optimized, 2-Up, 4-Up View Tabs:

    • Displays the graphic in the original format and in other file formats such as GIF or JPEG


Optimizing files

Optimizing Files

Original image format

Three optimized versions of the image in GIF and JPEG format


Understanding compression

Understanding Compression

  • GIF, JPEG, PNG compression creates compressed files without losing substantial components


Understanding jpeg files

Understanding JPEG Files

  • File compressed by discarding image pixels

  • Does not support transparent color

  • Known as “lossy” because it loses data when it compresses a file


Understanding gif files

Understanding GIF Files

  • Files compressed by limiting colors

  • 8-bit format

  • Maximum number of colors is 256

  • Supports one transparent color

  • Known as “lossless” because the file compresses solid color areas but maintains details


Comparing image types

Comparing Image Types

GIF optimization:

Colors are streaky and broken-up

JPEG optimization:

Colors are crisp and appear seamless


Optimization format considerations

Optimization Format Considerations


Create a button for a web page defining buttons

Create a Button for a Web Page Defining Buttons

  • Graphical interface that helps visitors navigate through and interact with a Web site

    • Create a new button shape

    • Apply a preformatted button style

    • Import a button created in another program

    • Assign actions to a button


Creating a button

Creating a Button

  • Draw a shape with a shape tool on a layer

  • Apply a color or style to the shape

  • Add text to explain what will happen when the button is clicked


Applying a button style

Applying a Button Style

  • Use one of many pre-designed button styles on the Styles panel

  • Create a new style

  • Apply a style to a button by double-clicking one of the button styles on the Styles panel


Button styles

Button Styles


Converting files to html

Converting Files to HTML

  • A Photoshop file must be converted to HTML before it can be used on the Web

  • To convert a file to HTML:

    • Click Edit on the Menu bar, point to Copy HTML Code, click For All Slices

  • Photoshop stores the HTML code on the Clipboard so that it can then be pasted into the web page using an HTML editor


Create slices in an image

Create Slices in an Image

  • A slice is a rectangular section of an image that is used to apply features such as links

  • Slices are used to determine the appearance of special effects in a Web page

  • Create a slice with any marquee tool or the Slice tool


Using slices

Using Slices

  • User-slice

    • The designer creates the slice

    • Enclosed in a solid line border

  • Auto-slice

    • Photoshop creates the slice in response to the user-slice

    • Enclosed in a dotted line border


Selecting a slice

Selecting a Slice

  • A selected slice is bounded by a yellow border

  • Contains a bounding box and sizing handles

  • Resize a slice by dragging a handle


Slice components

Slice Components

  • Colored line used to identify the slice type

  • Overlay that dims the appearance of unselected slices

  • Number that identifies each individual slice

  • Symbol that identifies the type of slice


Adjusting slice attributes

Adjusting Slice Attributes

  • Click Slices under the Preferences command on the Edit menu

  • Choose to display slice lines, numbers, and symbols

  • Specify line color, number, and opacity


User slice symbols

User Slice Symbols


Using layer based slices

Using Layer-Based Slices

  • Use the New Layer Based Slice command on the Layer menu to create a slice from a layer on the Layers panel

  • Easy way of creating a slice without needing to draw an outline


Creating a layer based slice

Creating a Layer-Based Slice

  • Select the layer on the Layers panel

  • Click Layer on the Menu bar

  • Click New Layer Based Slice

    • A new slice surrounds the selected layer


Slice options dialog box

Slice Options dialog box

Web address of Web page: opens when user clicks on the slice in a Web page


Assigning a web address to a slice

Assigning a Web Address to a Slice

  • To assign a Web page address to a selected slice:

    • Type the URL of the Web page in the URL text box

    • The URL is the address of the Web page


Understanding image maps

Understanding Image Maps

  • An image is divided into multiple areas:

    • Each area is assigned to a Web address

  • Each area is known as a hotspot

    • When a user clicks the hotspot the browser opens a different Web page


  • Login