big updat:

- update dependencies
- add webp support and webp conversion for profile images
This commit is contained in:
olcxja 2026-07-02 22:40:46 +02:00
commit 95aaaa69ea
244 changed files with 121382 additions and 86 deletions

31
node_modules/super-image-cropper/esm/lib/cropper.d.ts generated vendored Normal file
View file

@ -0,0 +1,31 @@
import { ICommonCropOptions } from '../index';
import type { IParsedFrameInfo } from './decoder';
export interface IFrameCropperProps {
commonCropOptions: ICommonCropOptions;
}
export declare class FrameCropper {
private frames;
private parsedFrames;
private commonCropOptions;
private convertorCanvas;
private containerCanvas;
private convertCtx;
private containerCtx;
private cropperJsOpts;
private offsetX;
private offsetY;
private containerCenterX;
private containerCenterY;
private resultFrames;
constructor(props: IFrameCropperProps);
init({ commonCropOptions }: IFrameCropperProps): void;
cropGif(parsedFrameInfo: IParsedFrameInfo): Promise<ImageData[]>;
cropStaticImage(canvasImageContainer: HTMLCanvasElement): ImageData;
private transformFrame;
private drawImgDataToCanvas;
private ifDebugRun;
private renderEachFrame;
private setupCanvas;
private setCanvasWH;
private frameToImgData;
}