Academic Tutorials

English | French | Portugese | German | Italian
Home Advertise Payments Recommended Websites Interview Questions FAQs
News Source Codes E-Books Downloads Jobs Web Hosting

GIF Animation Tutorial
GIF Animation Introduction
GIF Animation Frames
GIF Animation Common Palette
GIF Animation Calculate Differences
GIF Animation Load Frames
GIF Animation Crop
GIF Animation Preview and Tweak

HTML Tutorials
HTML Tutorial
XHTML Tutorial
CSS Tutorial
TCP/IP Tutorial
CSS 1.0
CSS 2.0
XML Tutorials
XML Tutorial
XSL Tutorial
XSLT Tutorial
DTD Tutorial
Schema Tutorial
XForms Tutorial
XSL-FO Tutorial
XML DOM Tutorial
XLink Tutorial
XQuery Tutorial
XPath Tutorial
XPointer Tutorial
RDF Tutorial
SOAP Tutorial
WSDL Tutorial
RSS Tutorial
WAP Tutorial
Web Services Tutorial
Browser Scripting
JavaScript Tutorial
VBScript Tutorial
DHTML Tutorial
HTML DOM Tutorial
WMLScript Tutorial
E4X Tutorial
Server Scripting
ASP Tutorial
PERL Tutorial
SQL Tutorial
ADO Tutorial
Apple Script
PL/SQL Tutorial
SQL Server
.NET (dotnet)
.Net Mobile
C# : C Sharp
SVG Tutorial
Flash Tutorial
Media Tutorial
SMIL Tutorial
Photoshop Tutorial
Gimp Tutorial
Gnuplot Programming
GIF Animation Tutorial
Scientific Visualization Tutorial
Web Building
Web Browsers
Web Hosting
W3C Tutorial
Web Building
Web Quality
Web Semantic
Web Careers
Weblogic Tutorial
Web Site Hosting
Domain Name
Java Tutorials
Java Tutorial
JSP Tutorial
Servlets Tutorial
Struts Tutorial
EJB Tutorial
JMS Tutorial
JMX Tutorial
Programming Langauges
C Tutorial
C++ Tutorial
Visual Basic Tutorial
Data Structures Using C
Assembly Language
Forth Programming
Lisp Programming
Data Warehousing
CGI Programming
Emacs Tutorial
Soft Skills
Communication Skills
Time Management
Project Management
Team Work
Leadership Skills
Corporate Communication
Negotiation Skills
Database Tutorials
Operating System
Software Testing
SAP Module
Business Warehousing
SAP Basis
Material Management
Sales & Distribution
Human Resource
Customer Relationship Management
Production and Planning
Networking Programming
Corba Tutorial
Networking Tutorial
Microsoft Office
Microsoft Word
Microsoft Outlook
Microsoft PowerPoint
Microsoft Publisher
Microsoft Excel
Microsoft Front Page
Microsoft InfoPath
Microsoft Access
Financial Accounting
Managerial Accounting
Network Sites

Load Frames and Set Options

Previoushome Next

Load Frames and Set Options


Optimizing Animated GIFs

Load the first full-sized image as your first frame to "paint" over, then load the "difference" frames. If they're named alphabetically, you can just drag and drop them onto GIFBuilder's frame window, and they'll end up in the right order; see Figure 15.

Figure 15 - GIFBuilder's Frames Window

Set Options

Set your desired interlacing, we turned it off as it makes for a slightly smaller file. Note that for banner ads, interlacing may increase clickthrough, at the expense of some file size. Set your colors to best palette and try leaving "remove unused colors" on (this sometimes threw off our transparent color and had to be turned off). Set the bit depth to that of your most colorful frame to (I used a bit depth of five or a maximum of 32 colors); see Figure 16.

Figure 16 - Setting options in GIFBuider

Set Transparency

GIFBuilder discards any transparency settings on imported GIFs, so you need to reset them by selecting Options | Transparent Background, which offers the following options:

  • No - Opaque
  • White - all white pixels are transparent
  • Based on first pixel - use the upper left-hand pixel (0,0) as the transparent color
  • Other - set a transparent color with the color picker

I chose to set the first frame to opaque and the rest based on the first pixel. I also could have used Other and manually typed 65535 in the Green box for our pure green key color.

Choose a Disposal Method

The disposal method specifies what happens to the previous frame after the current one is displayed. The disposal method works with transparency, so if your frames aren't transparent you don't have to worry about it. The basis for all optimized animations is transparency combined with one of the following disposal methods:

  • Unspecified - replaces previous frame
  • Do Not Dispose - shows the previous frame through any transparent pixels
  • Restore to Background - shows the background color or tile through transparent pixels. In the GIF89a spec, you can set the background color; Netscape shows whatever is in your body tag.
  • Restore to Previous - restores to the last undisposed frame (not necessarily the previous frame). This feature is supported only by Internet Explorer 3.0; Netscape treats it as Do Not Dispose.

Here are some guidelines: For full-frame animations use Unspecified or Do Not Dispose (they overwrite each other). For frame optimization, transparency, and the difference method, use Do Not Dispose (overlays over previous frame); see Figure 17. To move frames within a larger frame, use Restore to Background to avoid multiple images.

Disposal Method Menu

Figure 17 - Setting Disposal Method

Define Looping Parameters

I chose to loop forever, since I was planning on auto-negotiating to browser-optimized pages. Netscape 2.02 had a memory leak that caused it to bomb or freeze when animated GIFs ran too long, but this was fixed in 3.0 so keep that in mind. Allow the user's browser to "breathe" by setting a longer delay for the last frame or increasing the interframe delay. Giving the browser some CPU cycles lets the rest of the page load, allowing users to negotiate links more easily. Some sites require banner ad loops to end in less than four seconds.

Set the Interframe Delay(s)

The GIF89a spec added timing information for each frame that determines how long it remains visible (in 100ths of a second). You can specify the delay between any two frames to simulate any effect you want. For our "moment" animation, we wanted the penguin to scream across the page, so we first tried a delay of 0. This made us laugh, but beta testers complained that it ate up their CPU's, even on high-end machines. Tweaking this up to one hundredths of a second solved the problem while still retaining the zooming effect we wanted; see Figure 18.

Figure 18 - Before setting interframe delay

I also found that starting the penguin in the middle of the image (useful for older browsers that only show the first or last frames) would cause it to hesitate in the middle while the user's disk cache was accessed. Starting the penguin off screen solved the problem.

Be the first one to comment on this page.

  GIF Animation Tutorial eBooks

No eBooks on GIF Animation could be found as of now.

 GIF Animation Tutorial FAQs
More Links » »
 GIF Animation Tutorial Interview Questions
More Links » »
 GIF Animation Tutorial Articles

No GIF Animation Articles could be found as of now.

 GIF Animation Tutorial News

No News on GIF Animation could be found as of now.

 GIF Animation Tutorial Jobs

No GIF Animation Articles could be found as of now.

Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • connotea
  • digg
  • Fark
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Ma.gnolia
  • NewsVine
  • Netvouz
  • RawSugar
  • Reddit
  • scuttle
  • Shadows
  • Simpy
  • Smarking
  • Spurl
  • TailRank
  • Wists
  • YahooMyWeb

Previoushome Next

Keywords: Load Frames and Set Options, GIF Animation, GIF Animation, GIF Animation tutorial, GIF Animation tutorial pdf, history of GIF Animation, Custamizing Style Sheet, learn GIF Animation

HTML Quizzes
CSS Quiz
CSS 1.0 Quiz
CSS 2.0 Quiz
XML Quizzes
XML Quiz
XSL Quiz
DTD Quiz
Schema Quiz
XForms Quiz
XLink Quiz
XQuery Quiz
XPath Quiz
XPointer Quiz
RDF Quiz
RSS Quiz
WAP Quiz
Web Services Quiz
Browser Scripting Quizzes
JavaScript Quiz
VBScript Quiz
WMLScript Quiz
E4X Quiz
Server Scripting Quizzes
ASP Quiz
SQL Quiz
ADO Quiz
CVS Quiz
Python Quiz
Apple Script Quiz
SQL Server Quiz
PHP Quiz
.NET (dotnet) Quizzes
Microsoft.Net Quiz
ASP.Net Quiz
.Net Mobile Quiz
C# : C Sharp Quiz
VC++ Quiz
Multimedia Quizzes
SVG Quiz
Flash Quiz
Media Quiz
Photoshop Quiz
Gimp Quiz
Matlab Quiz
Gnuplot Programming Quiz
GIF Animation Quiz
Scientific Visualization Quiz
Graphics Quiz
Web Building Quizzes
Web Browsers Quiz
Web Hosting Quiz
W3C Quiz
Web Building Quiz
Web Quality Quiz
Web Semantic Quiz
Web Careers Quiz
Weblogic Quiz
SEO Quiz
Web Site Hosting Quiz
Domain Name Quiz
Java Quizzes
Java Quiz
JSP Quiz
Servlets Quiz
Struts Quiz
EJB Quiz
JMS Quiz
JMX Quiz
Eclipse Quiz
J2ME Quiz
Programming Langauges Quizzes
C Quiz
C++ Quiz
Visual Basic Quiz
Data Structures Using C Quiz
Cobol Quiz
Assembly Language Quiz
Mainframe Quiz
Forth Programming Quiz
Lisp Programming Quiz
Pascal Quiz
Delphi Quiz
Fortran Quiz
OOPs Quiz
Data Warehousing Quiz
CGI Programming Quiz
Emacs Quiz
Gnome Quiz
ILU Quiz
Soft Skills Quizzes
Communication Skills Quiz
Time Management Quiz
Project Management Quiz
Team Work Quiz
Leadership Skills Quiz
Corporate Communication Quiz
Negotiation Skills Quiz
Database Quizzes
Oracle Quiz
MySQL Quiz
Operating System Quizzes
BSD Quiz
Symbian Quiz
Unix Quiz
Internet Quiz
IP-Masquerading Quiz
IPC Quiz
Software Testing Quizzes
Testing Quiz
Firewalls Quiz
SAP Module Quizzes
ERP Quiz
Business Warehousing Quiz
SAP Basis Quiz
Material Management Quiz
Sales & Distribution Quiz
Human Resource Quiz
Netweaver Quiz
Customer Relationship Management Quiz
Production and Planning Quiz
Networking Programming Quizzes
Corba Quiz
Networking Quiz
Microsoft Office Quizzes
Microsoft Word Quiz
Microsoft Outlook Quiz
Microsoft PowerPoint Quiz
Microsoft Publisher Quiz
Microsoft Excel Quiz
Microsoft Front Page Quiz
Microsoft InfoPath Quiz
Microsoft Access Quiz
Accounting Quizzes
Financial Accounting Quiz
Managerial Accounting Quiz
Testimonials | Contact Us | Link to Us | Site Map
Copyright ? 2008. Academic All rights reserved Privacy Policies | About Us
Our Portals : Academic Tutorials | Best eBooksworld | Beyond Stats | City Details | Interview Questions | Discussions World | Excellent Mobiles | Free Bangalore | Give Me The Code | Gog Logo | Indian Free Ads | Jobs Assist | New Interview Questions | One Stop FAQs | One Stop GATE | One Stop GRE | One Stop IAS | One Stop MBA | One Stop SAP | One Stop Testing | Webhosting in India | Dedicated Server in India | Sirf Dosti | Source Codes World | Tasty Food | Tech Archive | Testing Interview Questions | Tests World | The Galz | Top Masala | Vyom | Vyom eBooks | Vyom International | Vyom Links | Vyoms | Vyom World | Important Websites
Copyright ? 2003-2021 Vyom Technosoft Pvt. Ltd., All Rights Reserved.