This commit is contained in:
2026-10-22 16:06:51 +07:00
commit 25158e780f
2897 changed files with 569062 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
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