_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition1  Wiley and the.

Slides:



Advertisements
Similar presentations
The Web Wizards Guide to HTML Chapter Five Working with Images.
Advertisements

Interaction Design: Visio
Working with Images and HTML
Adobe Flash CS4 – Illustrated Unit E: Optimizing and Publishing a Movie.
Section 9.1 Identify multimedia design guidelines Identify sources of multimedia files Explain the ethical use of multimedia files Describe multimedia.
Creating Animations – Lesson 71 Creating Animations Lesson 7.
Chapter 6 Photoshop and ImageReady: Part II The Web Warrior Guide to Web Design Technologies.
Adobe Photoshop CS Design Professional FOR THE WEB CREATING IMAGES.
Graphics. Image format's GIF Format: Use a maximum of 256 colors, and are recommendable for big areas of one color or non- continuous images. They are.
Multimedia for the Web: Creating Digital Excitement Multimedia Element -- Graphics.
Create slices and hotspots Create links in Web pages Create rollovers from slices Create basic animation Add tweening symbol instances to create animation.
XP Creating Web Pages with HTML Using Tables. XP Objectives Create a text table Create a table using the,, and tags Create table headers and captions.
Macromedia Flash MX 2004 – Design Professional Macromedia Flash MX GETTING STARTED WITH.
Adobe Photoshop 6 Advanced Level Course. Easy Fixes Photoshop is the best tool to fix old, torn and faded photographs, and can fix almost all flaws in.
Chapter 4 Adding Images. Inserting and Aligning Images Using CSS When you choose graphics to add to a web page, it’s important to use graphic files in.
_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition1  Wiley and the.
© 2010 Delmar, Cengage Learning Chapter 6: Preparing and Publishing Movies.
Chapter 3 Adding Images in HTML. Agenda Understanding Web Page Images Prepare Your Images for the Web Insert an Image Specify an Image Size Add Alternative.
Section 9.1 Section 9.2 YOU WILL LEARN TO…
ITIS 1210 Introduction to Web-Based Information Systems Chapter 41 How Animation on the Web Works.
Creating a MagicInfo Pro Screen Template
Introduction to Flash Animation RMIK Jayasinghe (M. Sc. in Computer Science, B. Sc., SLTS)
Photoshop Backgrounds, Buttons, Banners & Animation In PowerPoint Presentations.
Using Multimedia on the Web
Website design Feng Zhao College of Educatioin California State University, Northridge.
Faculty of Sciences and Social Sciences HOPE Website Development Graphics Stewart Blakeway FML 213
DIGITAL GRAPHICS & ANIMATION Complete LESSON 2 Importing and Exporting Graphics.
Chapter 4 Adding Images. Chapter 4 Lessons Introduction 1.Insert and align images 2.Enhance an image and use alternate text 3.Insert a background image.
Graphic images for computers Stored in files of binary data - Binary blobs Software has to know the binary format to decode the file and render an image.
Case Study: Using Macromedia Director
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: –The head content –The body Creating Head Content and Setting Page Properties.
Tutorial 6 Working with Bitmaps and Gradients, and Publishing Flash Files.
1 SEG3120 Analysis and Design for User Interfaces Flash Anis Zarrad Parallel Simulations and Distributed Systems (PARADISE) Research Laboratory SITE, University.
Digital Image: Representation & Processing (2/2) Lecture-3
1-1 OBJ Copyright 2003, Paradigm Publishing Inc. Dr. Joseph Otto Silvia Castaneda Christopher deCastro CSULA Macromedia Flash MX Introduction.
Macromedia Flash CS4. What is Flash CS4? –Animation and interactive authoring program –Tools for complex animation, as well as excellent drawing tools.
Adobe Flash CS5.5. What is Adobe Flash? formerly Macromedia Flash Is software is a powerful authoring environment for creating animation and multimedia.
Chapter 5 Web Graphics Styling Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
A NIMATED GIF S Adapted from in_photos.htm
Chapter 13-Tools for the World Wide Web. Overview Web servers. Web browsers. Web page makers and site builders. Plug-ins and delivery vehicles. Beyond.
Audio and Video on the Web Presentation by Cheryl Deas and Pasha Souvorin Multimedia for Web Designers.
Photoshop & Fireworks Helps & Hints Visual Design for the Web March 2007.
HTML presentation Graphics H format H data compression H size H creating or finding H publishing.
1 Web Developer Foundations: Using XHTML Chapter 4 Key Concepts.
1 Web Developer & Design Foundations with XHTML Chapter 4 Key Concepts.
CREATING A POWERPOINT PRESENTATION. Planning a presentation Create a presentation Rearrange and delete text and slides Add animations Add transitions.
Class 02 – 03 Feb 2014 Setup Where do we begin? Know your content Discovering your target user.
_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition1  Wiley and the.
_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition1  Wiley and the.
Introduction to Flash Animation CS 318. Topics Introduction to Flash and animation The Flash development environment Creating Flash animations  Layers.
Adobe Photoshop CS3 Revealed – Chapter 16 FOR THE WEB CREATING IMAGES.
Copyright © 2003 Pearson Education, Inc. Chapter 6 – Slide 1 by Michael Kay The Web Wizard’s Guide to Flash.
_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition1  Wiley and the.
Animated GIF: what is it? Series of images, displayed one on top of another illusion of motion is created captured in a single file no special software.
Web Graphics. Web graphics Bandwidth is king Graphics must load quickly Graphics must be optimized All other components except for text, gif and jpg are.
1 A Basic Introduction to Flash. Outline What is a flash? Macromedia Flash MX 2004 Flash concepts Flash Demos Conclusion Additional help 2.
_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition1  Wiley and the.
Copyright © Texas Education Agency, All rights reserved.1 Web Technologies Motion Graphics & Animation.
WEB GRAPHICS EXPLORING COMPUTER SCIENCE - LESSON 3-4.
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
Adobe Flash Professional CS5 – Illustrated Unit E: Optimizing and Publishing a Movie.
13 June – Session : Graphics Different types of Graphics for the web Features of image editing software Good practice for image editing.
CNIT 131 Graphics.
Section 9.1 Section 9.2 YOU WILL LEARN TO…
Section 9.1 Section 9.2 Identify multimedia design guidelines
Chapter Lessons Understand the Macromedia Flash workspace
Chapter 3 Image Files © 2017 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Exercise 63 Use a Flash movie clip symbol to store an animation that you need to use more than once in an application. This is very important for keeping.
Web Programming– UFCFB Lecture 7
chapter 29: Creating Web Graphics
Presentation transcript:

_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition1  Wiley and the book authors, 2002 Web Design in a Nutshell Chapter 23: Animated GIFs

_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition2  Wiley and the book authors, 2002 Summary

_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition3  Wiley and the book authors, 2002 Synopsis These days, it’s just about impossible to browse the web without seeing the flashing, bouncing, and wiggling of GIF animation. The animated GIF is ubiquitous and there are many good reasons for its popularity:  Users need no special software or plugin  GIF is the standard file format for he web  They’re easy to create  They require no server configuration  They use streaming technology The only drawbacks to animated GIFs are that they can contain no sound or interactivity and they cause some extra work for the client’s computer to keep refreshing the images.

_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition4  Wiley and the book authors, 2002 How they work Animated GIFs work a lot like traditional cell animation. The file contains a number of frames layered on top of each other.  In simple animations, each frame is a complete scene  In more sophisticated animations, the first frame provides the background and subsequent frames just provide the changing portion of the image The GIF animation consists of a number of images and a set of instructions that specify the length of delay between frames, as well as other attributes like transparency and palettes.

_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition5  Wiley and the book authors, 2002 Using Animated GIFs Nowhere has GIF animation made a larger impact than in banner advertising. Ad agencies aren’t stupid; they know that adding motion and flashing lights to a web page is a sure-fire way to attract attention. But beware that this can also work against you. Many users complain that animation is too distracting, making it difficult ton concentrate on the content of the page. Although it adds a little “pizzazz” to the page, overall, too much animation can quickly spoil the user’s enjoyment f your page  Avoid more than one animation on a page  Use the animation to communicate something in a clever way (not just gratuitous flashing lights).  Avoid animation on text-heavy pages that might require concentration to read.  Consider whether the extra bandwidth to make a graphic spin is actually adding value to your page.  Decide whether your animation needs to loop continuously.  Experiment with timing. Sometimes a long pause between loops can make an animation less distracting.

_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition6  Wiley and the book authors, 2002 Tools Applications that include GIF animation tools:  Macromedia Fireworks  Adobe ImageReady  Animation Shop & PaintShop Pro GIF animation utilities:  GIFmation  GifBuilder  Ulead GIF Animator

_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition7  Wiley and the book authors, 2002 Creating Animated GIFs Regardless of the tool you choose, the process of creating an animated GIF is about the same and involves making decisions about a standard set of features and options. Some of the following descriptions use GIFBuilder’s terminology, but the concepts and settings are consistent across tools.  Frame Delay  Also called “interframe delay,” this setting specifies the amount of time between frames. Frame delays are measured in 1/100ths of a second. You can apply a different delay time to each frame in the animation to create pauses and other timing effects.  Transparency  You can set transparency for each frame within an animation. Previous frames will show through the transparent area of a later frame if disposal methods are set correctly. If the background frame is made transparent, the browser background color or pattern will show through.  Don’t be surprised if the transparent areas you specified in your original graphics are ignored when you import them into a GIF animation utility. You may need to set transparency in the animation package. Standard transparency options include: o None: no transparency o White: all the white pixels in the image will become transparent o Based on first pixel: The color of the “first pixel” (top left) is transparent o Other: This option lets you select one of the palette colors as transparent

_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition8  Wiley and the book authors, 2002 Creating Animated GIFs (cont.)  Disposal methods  Disposal method gives instructions on what to do with the previous frame once a new frame is displayed  Most GIF animation utilities offer “optimization,” a file-size reducing process that takes advantage of the fact that previous frames will “show through” transparent areas of a later frame. In order for this process to work, the disposal method must be set to Do Not Dispose (or Leave Alone, etc.). With this method, areas of previous frames continue to display unless covered up by an area in a succeeding frame. The four choices are: o Unspecified (Nothing): Use this option to replace one full-size, nontransparent frame with another o Do Not Dispose (Leave As Is): In this option, any pixels not covered by the next frame continue to display. Use this when you want a frame to continue to show throughout the animation o Restore to Background: The background color or background tile shows through the transparent pixels of the new frame (replacing the image areas of the previous frame). o Restore to Previous: Only works with IE

_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition9  Wiley and the book authors, 2002 Creating Animated GIFs (cont.)

_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition10  Wiley and the book authors, 2002 Color palette Animated GIFs, like static GIF files, use a list of up to 256 colors that can be used in the image. They can have multiple palettes (one for each frame) or one global palette. The palette choice affects how well the images appear on the inevitable variety of systems and monitor setups. One problem with using multiple, frame-specific palettes is that they cause a dramatic increase in file size. It is recommended you use one global palette for the whole animation.

_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition11  Wiley and the book authors, 2002 Other options The following are descriptions of other aspects of animated GIF files that can be set within most animation programs:  Loop: you can specify the number of times an animation repeats – none, forever, or a specific number.  Interlaced: Like ordinary GIFs, animated GIFs can be set to be interlaced, which causes them to display in a series of passes. For animated GIFs, it is recommended that you leave the interlacing option set to “no” or “off”.  Depth: This option allows you to limit the bit depth of the image to some number less than 8 (the default for GIF).  Dithering: This is a way to simulate intermediate color shades. It should be used with continuous-tone images.  Background Color: Regardless of what color you select in the background color option, Netscape & IE display the background color or image you specify in your HTML page. So, the option doesn’t affect the display of the GIF in a browser, only within the tools itself.

_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition12  Wiley and the book authors, 2002 Recommended starting options These settings are a good starting point for creating full-frame animations:  Color Palette: Global, adaptive palette  Interlacing: off  Dithering: on for photographic images; off for drawings  Image Size: minimum size  Background Color: the background color of your web page  Looping: forever  Transparency: off  Disposal Method: do not dispose

_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition13  Wiley and the book authors, 2002 Optimizing animated GIFs Start by applying the same file-size reduction tactics used on regular, static GIF files to the images in your animation frames including:  Reduce number of colors  Reduce the bit depth  Eliminate unnecessary dithering  Removing “stray” pixels from the otherwise solid areas In addition to the standard image-compressing methods, GIF animation tools optimize animations by eliminating the repetition of pixels in unchanging image areas. Only the pixels that change are recorded for each frame.