1 | import { LoadedImage } from '../interfaces';
|
2 | import { CropperState } from '../component/cropper.state';
|
3 | export declare class LoadImageService {
|
4 | private autoRotateSupported;
|
5 | loadImageFile(file: File, cropperSettings: CropperState): Promise<LoadedImage>;
|
6 | private checkImageTypeAndLoadImageFromArrayBuffer;
|
7 | private isValidImageType;
|
8 | loadImageFromURL(url: string, cropperSettings: CropperState): Promise<LoadedImage>;
|
9 | loadBase64Image(imageBase64: string, cropperSettings: CropperState): Promise<LoadedImage>;
|
10 | private base64ToArrayBuffer;
|
11 | private loadImageFromArrayBuffer;
|
12 | private getSvgImageSize;
|
13 | private transformImageFromArrayBuffer;
|
14 | transformLoadedImage(loadedImage: Partial<LoadedImage>, cropperState: CropperState, forceTransform?: boolean): Promise<LoadedImage>;
|
15 | private loadImageFromObjectUrl;
|
16 | private getTransformedSize;
|
17 | }
|