AppStreamCompose.ImageFormat
Description: Reference for AppStreamCompose.ImageFormat

### Enumeration

# AppStreamComposeImageFormat

#### Declaration

    enum AppStreamCompose.ImageFormat

#### Description [src]

File format of an image.

#### Members

Name | Description
--- | ---
`ASC_IMAGE_FORMAT_UNKNOWN` | Unknown image format.
`ASC_IMAGE_FORMAT_PNG` | PNG format.
`ASC_IMAGE_FORMAT_JPEG` | JPEG format.
`ASC_IMAGE_FORMAT_GIF` | GIF format.
`ASC_IMAGE_FORMAT_SVG` | SVG format.
`ASC_IMAGE_FORMAT_SVGZ` | Compressed SVG format.
`ASC_IMAGE_FORMAT_WEBP` | WebP format.
`ASC_IMAGE_FORMAT_AVIF` | AVIF format.
`ASC_IMAGE_FORMAT_XPM` | XPM format.

#### Type functions

###### asc_image_format_from_filename

Returns the image format type based on the given file’s filename.

###### asc_image_format_from_string

Converts the text representation to an enumerated value.

###### asc_image_format_to_string

Converts the enumerated value to an text representation.