LibGd 2.4.0-dev
GD Graphics library
Loading...
Searching...
No Matches
Data Fields
gdAvifInfo Struct Reference

Information extracted from the AVIF image and container. More...

#include <gd.h>

Data Fields

int width
 
int height
 
int is_animation
 
int is_progressive
 
int frame_count
 
double duration
 
int has_alpha
 
int bit_depth
 
int yuv_format
 
gdImageMetadata * metadata
 

Detailed Description

Information extracted from the AVIF image and container.

The fields describe facts available from the input, independently of the features currently decoded or written by GD. Dimensions, alpha, bit depth, and YUV format describe the primary image. Sequence fields describe the AVIF input when present. metadata is caller-owned and contains canonical EXIF and XMP profiles; ICC is not part of the public metadata path.

Field Documentation

◆ bit_depth

int gdAvifInfo::bit_depth

Bit depth of the image.

◆ duration

double gdAvifInfo::duration

Duration of the animation in seconds.

◆ frame_count

int gdAvifInfo::frame_count

Number of frames in the animation.

◆ has_alpha

int gdAvifInfo::has_alpha

Nonzero if the image has an alpha channel.

◆ height

int gdAvifInfo::height

Image height in pixels.

◆ is_animation

int gdAvifInfo::is_animation

Nonzero if the image is an animation.

◆ is_progressive

int gdAvifInfo::is_progressive

Nonzero if the image is progressive.

◆ metadata

gdImageMetadata* gdAvifInfo::metadata

Pointer to the image metadata.

◆ width

int gdAvifInfo::width

Image width in pixels.

◆ yuv_format

int gdAvifInfo::yuv_format

One of the GD_AVIF_PIXEL_FORMAT_* values.


The documentation for this struct was generated from the following file: