Image.setFormat

Set the image format. Once set the image only accepts files or data in this format.

class Image
setFormat
(
this T
)
(
string format
)

Parameters

format string

A valid image format.

Return Value

Type: auto

This image to aid method chaining.

See Also

tkd.image.imageformat for supported formats.

Meta