UNPKG

pdf-lib

Version:

Create and modify PDF files with JavaScript

19 lines (18 loc) 580 B
export declare enum PngType { Greyscale = "Greyscale", Truecolour = "Truecolour", IndexedColour = "IndexedColour", GreyscaleWithAlpha = "GreyscaleWithAlpha", TruecolourWithAlpha = "TruecolourWithAlpha" } export declare class PNG { static load: (pngData: Uint8Array) => PNG; readonly rgbChannel: Uint8Array; readonly alphaChannel?: Uint8Array; readonly type: PngType; readonly width: number; readonly height: number; readonly bitsPerComponent: number; private constructor(); } //# sourceMappingURL=png.d.ts.map