22 lines
489 B
TypeScript
22 lines
489 B
TypeScript
declare type AniMetadata = {
|
|
cbSize: number;
|
|
nFrames: number;
|
|
nSteps: number;
|
|
iWidth: number;
|
|
iHeight: number;
|
|
iBitCount: number;
|
|
nPlanes: number;
|
|
iDispRate: number;
|
|
bfAttributes: number;
|
|
};
|
|
declare type ParsedAni = {
|
|
rate: number[] | null;
|
|
seq: number[] | null;
|
|
images: Uint8Array[];
|
|
metadata: AniMetadata;
|
|
artist: string | null;
|
|
title: string | null;
|
|
};
|
|
export declare function parseAni(arr: Uint8Array): ParsedAni;
|
|
export {};
|