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)

33 lines (32 loc) 694 B
/** @format */ /** * Enum representing various image formats. */ export declare enum ImageFormat { /** Bitmap image format */ bmp = 0, /** Graphics Interchange Format */ gif = 1, /** Icon image format */ ico = 2, /** JPEG image format */ jpg = 3, /** Portable Network Graphics */ png = 4, /** Portable Any Map */ pnm = 5, /** Photoshop Document */ psd = 6, /** PowerVR texture format */ pvr = 7, /** Truevision TGA */ tga = 8, /** Tagged Image File Format */ tiff = 9, /** WebP image format */ webp = 10, /** Custom image format */ custom = 11, /** Invalid image format */ invalid = 12 }