UNPKG

image-in-browser

Version:

Package for encoding / decoding images, transforming images, applying filters, drawing primitives on images on the client side (no need for server Node.js)

15 lines (14 loc) 304 B
/** @format */ /** * Enum representing the pixelation mode. */ export declare enum PixelateMode { /** * Use the top-left pixel of a block for the block color. */ upperLeft = 0, /** * Use the average of the pixels within a block for the block color. */ average = 1 }