Advertisement
ASP_Volume3 Graphics #54574

LaVolpe GIF Viewer 3

An extremely resource friendly, unique approach to viewing animated GIFs. Draw to any DC (no need for transparent usercontrols, timers). Self-contained class creates own timer, back buffer for flicker free drawing, and parses/renders animation frames. This new approach uses just 2 GDI objects per GIF, regardless how many frames it may have. It uses 0 to 3 more GDI objects for flicker-free drawing depending on animation settings and target DC contents. Well commented. Recommended improvements welcomed. This is not a GIF editor. ======================================= 5Aug06: Patched to address: Clearing solid bkg would overpaint 1 pixel width & height. Refreshing scaled single frame GIF could rescale from scaled dimensions & not original dimensions. Offscreen DC could be created (wasted resource) when not needed. 26Fe07. Added ability to quick-render 1st frame of GIF. Previously, ppl said they didn't like the delay between loading & displaying image.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine