Sayed's Blog

drawlang > docs > users > library > images

Images

  • getPixel(x, y) - Returns color value of image at specified coordinates.

  • getSubimage(x, y, width, height) - Returns subimage defined by specified rectangular region.

  • resizeImage(width, height) - Returns resized version of image.

  • setPixel(color, x, y) - Sets pixel value of image at specified coordinates.

  • setTransparentColor(color) - Makes specified color transparent in image.

  • width - Returns width of image.

  • height - Returns height of image.

    © 2023