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

20
node_modules/super-image-cropper/dist/lib/helper.d.ts generated vendored Normal file
View file

@ -0,0 +1,20 @@
import { IImageData } from '../index';
export type GetArrTypeUnion<T extends any[]> = T extends (infer I)[] ? I : never;
export type IImageLoadData = {
imageInstance: HTMLImageElement;
data: Event;
imageType: IImageTypeInfo | null;
};
export interface IImageTypeInfo {
ext: string;
mime: string;
}
export interface IGetImageParams {
src?: string;
crossOrigin?: '' | 'anonymous' | 'use-credentials';
}
export declare const getImageInfo: (params: IGetImageParams) => Promise<IImageData>;
export declare const getImageType: (imageBufferData: ArrayBuffer) => Promise<IImageTypeInfo | null>;
export declare const loadImage: (params: IGetImageParams) => Promise<IImageLoadData>;
export declare const transformImageData2ArrayBuffer: (image: HTMLImageElement) => ArrayBufferLike;
export declare const getImageBufferFromRemote: (url?: string) => Promise<ArrayBuffer>;