Icard/angular-clarity-master(work.../node_modules/ngx-image-cropper/lib/services/load-image.service.d.ts

21 lines
1.0 KiB
TypeScript
Raw Permalink Normal View History

2024-07-16 14:55:36 +00:00
import { LoadedImage } from '../interfaces';
import { CropperSettings } from '../interfaces/cropper.settings';
import * as i0 from "@angular/core";
export declare class LoadImageService {
private autoRotateSupported;
loadImageFile(file: File, cropperSettings: CropperSettings): Promise<LoadedImage>;
private checkImageTypeAndLoadImageFromArrayBuffer;
private isValidImageType;
loadImageFromURL(url: string, cropperSettings: CropperSettings): Promise<LoadedImage>;
loadBase64Image(imageBase64: string, cropperSettings: CropperSettings): Promise<LoadedImage>;
private base64ToArrayBuffer;
private loadImageFromArrayBuffer;
private getSvgImageSize;
private transformImageFromArrayBuffer;
transformLoadedImage(loadedImage: Partial<LoadedImage>, cropperSettings: CropperSettings, forceTransform?: boolean): Promise<LoadedImage>;
private loadImageFromObjectUrl;
private getTransformedSize;
static ɵfac: i0.ɵɵFactoryDeclaration<LoadImageService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<LoadImageService>;
}