Files
pdf-manager/node_modules/pdf-lib/cjs/utils/png.d.ts
2025-05-13 12:01:17 +02:00

18 lines
561 B
TypeScript

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