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) 356 B
/** @format */ /** * Enum representing PNG blend modes. */ export declare enum PngBlendMode { /** * No alpha blending should be done when drawing this frame (replace pixels in canvas). */ source = 0, /** * Alpha blending should be used when drawing this frame (composited over the current canvas image). */ over = 1 }