Work in progress

Godot documentation is being updated to reflect the latest changes in version 4.0. Some documentation pages may still state outdated information. This banner will tell you if you're reading one of such pages.

The contents of this page are up to date. If you can 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