Scratch for Java

ExtensionContext::registerImageFormat()

Browser availability: desktop-only.

This API requires the desktop runtime. Browser declarations may report the limitation without performing the operation.

Images whose name ends in suffix (e.g. ".ase") are decoded by decoder.

Syntax

Java

.registerImageFormat(suffix, decoder)

Parameters

Name Data Type Description
suffix String
decoder ImageDecoder

Return

void

registerImageFormat()

Create Shareable URL

Select Sections