Skip to content

Img

mash.img · Files & Storage

img.draw()

Create a new drawing object

img.image(data?: mixed)

Create a new blank Imagick image

img.kernelFromBuiltin(type: mixed, kernelString: mixed)

Create an ImagickKernel from a built-in type

img.pixel(colour?: string)

Create a colour pixel

img.read(file: File, x?: int, y?: int)

Read an image file into an Imagick instance

img.readExif(file: File) → array

Read EXIF metadata from an image file.