A simple library to display animated GIF images in WPF applications, usable in XAML or code.
WPF Animated GIF is a library that allows developers to display animated GIF images in Windows Presentation Foundation (WPF) applications. It solves the problem of WPF's native Image control not supporting GIF animations by providing attached properties and APIs to enable playback with accurate timing and control.
WPF developers who need to incorporate animated GIFs into their desktop applications, such as those building media viewers, educational software, or interactive UIs requiring visual feedback.
Developers choose this library because it integrates directly with standard WPF Image controls, requires no custom UI elements, and offers precise control over animation behavior including repeat counts, completion events, and manual playback—all with minimal code changes.
A simple library to display animated GIF images in WPF, usable in XAML or in code.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses attached properties on standard Image controls, avoiding the need for custom UI elements, as shown in the XAML examples with gif:ImageBehavior.AnimatedSource.
Respects actual frame durations from GIF metadata for smooth playback, ensuring animations match the intended timing.
Allows custom repeat counts via properties like RepeatBehavior or uses the GIF's built-in metadata, providing precise animation behavior.
Enables programmatic pause, resume, and seek functionality, giving developers fine-grained control over animation playback.
Relies on Git tags for versioning via MinVer; building outside a Git repository results in a 0.0.0.0 version, complicating setup for some developers.
Focuses solely on playback without support for GIF editing, frame extraction, or optimizations for handling very large or complex GIFs.
Tied to WPF and not compatible with newer or cross-platform .NET UI frameworks, limiting its use in modern multi-platform applications.