Creates a new tile image with the given image data.
The image data (Each byte contains two 4-bit colors).
The image width in pixels.
The image height in pixels.
The image data.
The image height in pixels.
The image width in pixels.
Draws the image onto the given rendering context.
The rendering context to draw the image to.
Optional horizontal target position. Defaults to 0.
Optional vertical target position. Defaults to 0.
Returns a copy of the image data. Each byte contains two 4-bit colors.
The image data.
Returns the image height in pixels.
The image height in pixels.
Returns the image width in pixels.
The image width in pixels.
Creates and returns a new canvas containing the image.
The created canvas.
Creates and returns an image data URL.
Optional image mime type. Defaults to image/png.
Optional additional encoder parameters. For image/jpeg this is the image quality between 0 and 1 with a default value of 0.92.
The created data URL.
Creates and returns a HTML image.
Optional image mime type. Defaults to image/png.
Optional additional encoder parameters. For image/jpeg this is the image quality between 0 and 1 with a default value of 0.92.
The created HTML image.
Parses a title image from the given array and returns it.
The parsed title.pic image.
Reads the title image from the given blob and returns it.
The TITLE.PIC blob to read.
The read title image.
Generated using TypeDoc
Container for the title image.