forked from olcxjas-softworks/LarpixClient
19 lines
690 B
TypeScript
19 lines
690 B
TypeScript
import { ICommonCropOptions, ICropperOptions } from '../index';
|
|
import { IOutputTypeUnion } from '../index';
|
|
export interface IFrameCropperProps {
|
|
commonCropOptions: ICommonCropOptions;
|
|
frames: ImageData[];
|
|
frameDelays: number[];
|
|
gifJsOptions?: ICropperOptions['gifJsOptions'];
|
|
outputType?: IOutputTypeUnion;
|
|
}
|
|
export declare class SyntheticGIF {
|
|
private cropperJsOpts;
|
|
private frames;
|
|
private frameDelays;
|
|
private gifJsOptions;
|
|
private outputType;
|
|
constructor({ frames, commonCropOptions, frameDelays, gifJsOptions, outputType }: IFrameCropperProps);
|
|
bootstrap(): Promise<string | Blob>;
|
|
private convertBlob2Base64;
|
|
}
|