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

    • Installation
  • Core Concepts

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

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

    • Use External Image File as Source
    • GIF Animated Image
    • Template Component
    • Global Components
    • Screen Management
    • Communication Commands and Events
    • Lottie Animation
  • Development

    • Build Mode
    • Build Toolchain Configuration
    • 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
Use External Image File as Source
Next
Template Component