Img
mash.img · Files & Storage
Methods
Section titled “Methods”img.draw()
Create a new drawing object
img.image(data?: mixed)
Create a new blank Imagick image
kernelFromBuiltin
Section titled “kernelFromBuiltin”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
readExif
Section titled “readExif”img.readExif(file: File) → array
Read EXIF metadata from an image file.