Skip to content

Tego Bot API Documentation v0.2.0


Tego Bot API Documentation / ImageResource

Interface: ImageResource ​

Defined in: botjs/src/image-match.ts:94

An image resource that can be used for template matching. Contains the PNG-encoded image buffer.

Properties ​

buffer ​

buffer: Buffer

Defined in: botjs/src/image-match.ts:96

PNG-encoded image buffer


path? ​

optional path: string

Defined in: botjs/src/image-match.ts:98

Original file path (if loaded from file)

Released under the MIT License.