Skip to content
This repository was archived by the owner on Mar 31, 2022. It is now read-only.

img API

Multi edited this page Jan 31, 2016 · 1 revision

img

  • loadImage(path:string) -> parsed image
  • drawImage(image, x:number, y:number) - draw image

File format

Like paintutils images, but each pixel is 3 bytes:

  • bgColor - 0-f, paintutils colors
  • fgColor - 0-f, paintutils colors
  • char

some docs

Clone this wiki locally