Decoding
API reference › HTML SVG › Values › Decoding
Represents literal string values for the SVG decoding attribute.
Provides the keyword values used by the decoding attribute.
See also: Image::decoding().
| Case | Value | Description |
|---|---|---|
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). |