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)

35 lines (34 loc) 872 B
/** @format */ /** * Enum representing BMP compression modes. */ export declare enum BmpCompressionMode { /** No compression */ none = 0, /** Run-length encoding with 8 bits */ rle8 = 1, /** Run-length encoding with 4 bits */ rle4 = 2, /** Bitfields compression */ bitfields = 3, /** JPEG compression */ jpeg = 4, /** PNG compression */ png = 5, /** Alpha bitfields compression */ alphaBitfields = 6, /** Reserved compression mode 7 */ reserved7 = 7, /** Reserved compression mode 8 */ reserved8 = 8, /** Reserved compression mode 9 */ reserved9 = 9, /** Reserved compression mode 10 */ reserved10 = 10, /** CMYK compression */ cmyk = 11, /** CMYK with run-length encoding 8 bits */ cmykRle8 = 12, /** CMYK with run-length encoding 4 bits */ cmykRle4 = 13 }