klyn.gui.images.EncodedImage.EncodedImage
constructor
public EncodedImage(encoded as Byte[])
Description

Decodes a private pixel snapshot from immutable input bytes.

Parameters
ParameterDescription
encodedEncoded raster content; the caller's array is not retained.
Throws
  • IOException for unsupported, corrupt or oversized content.
Example

image = EncodedImage(pngBytes); painter.drawImage(image, 0, 0)