2022-10-07 23:47:56 +00:00
|
|
|
interface RGBA {
|
|
|
|
r: number;
|
|
|
|
g: number;
|
|
|
|
b: number;
|
|
|
|
a: number;
|
|
|
|
}
|
2024-05-24 03:36:51 +00:00
|
|
|
export declare class Frame {
|
2022-10-07 23:47:56 +00:00
|
|
|
static info(imagePath: string): Promise<{
|
|
|
|
width: any;
|
|
|
|
height: any;
|
|
|
|
}>;
|
|
|
|
static solidColor(width: number, height: number, color: RGBA): Promise<unknown>;
|
|
|
|
static blend(inPath: any, color: RGBA, imagePath: string): Promise<string>;
|
|
|
|
}
|
2024-05-23 22:49:18 +00:00
|
|
|
export type { RGBA };
|