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)

19 lines (18 loc) 350 B
/** @format */ /** * Enum representing different channel orders. */ export declare enum ChannelOrder { rgba = 0, bgra = 1, abgr = 2, argb = 3, rgb = 4, bgr = 5, grayAlpha = 6, red = 7 } /** * Map representing the length of each channel order. */ export declare const ChannelOrderLength: Map<ChannelOrder, number>;