Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

ImageFormatLoader

Inherits: RefCounted < Object

Inherited By: ImageFormatLoaderExtension

Base class to add support for specific image formats.

Description

The engine supports multiple image formats out of the box (PNG, SVG, JPEG, WebP to name a few), but you can choose to implement support for additional image formats by extending ImageFormatLoaderExtension.


Enumerations

flags LoaderFlags:

LoaderFlags FLAG_NONE = 0

LoaderFlags FLAG_FORCE_LINEAR = 1

LoaderFlags FLAG_CONVERT_COLORS = 2