Skip to content
PHP Ecosystem
Explore

Decoding

API reference › HTML SVG › Values › Decoding

enumUIAwesome\Html\Svg\Values\Decoding
Backed bystring
Sourcesrc/Values/Decoding.php

Represents literal string values for the SVG decoding attribute.

Provides the keyword values used by the decoding attribute.

See also: Image::decoding().

CaseValueDescription
ASYNC'async'Decode the image asynchronously, after rendering and presenting the other content (async).
AUTO'auto'No preference for the decoding mode (auto).
SYNC'sync'Decode the image synchronously along with rendering the other content (sync).