anyuianyui
Home
Getting Started
Documentation
Download
Feedback
  • English
  • 简体中文
Home
Getting Started
Documentation
Download
Feedback
  • English
  • 简体中文
  • Setup

    • Installation
  • Core Concepts

    • Introduction
    • Design
    • Hide and Lock
    • Resource Management
    • Flag and State
  • Higher Order Component

    • State Button
    • Label Slider
    • Value Slider
    • Check Group & Radio Group
    • StatusBar
    • NavigateBar
    • Drawer
  • Animation

    • Widget Animation
    • Screen Load Animation
    • GIF Animated Image
    • Lottie Animation
  • Advanced Features

    • Layout
    • Use External Image File as Source
    • Template Component
    • Global Components
    • Screen Management
    • Communication Commands and Events
  • Development

    • Build Mode
    • Code Transplant
  • Technical Support

    • FAQ

Overview

Beginning with v0.28.0, animated GIF image support has been implemented.

Configuration

Enable GIF Support

To enable GIF decoder support, define the following in lv_conf.h:

#define LV_USE_GIF 1      // Enable GIF decoder

Usage

GIF images can be utilized as either embedded variables or external files. For external file implementation, refer to Use External Image File as Source.

Prev
Screen Load Animation
Next
Lottie Animation