imgproxyjs
Version:
ImgProxy javascript client for node/browser
28 lines (27 loc) • 1.51 kB
TypeScript
import { Options } from './types';
export declare class Transformers {
protected isObject(val: any): void;
private stringify;
protected tresize(val: Options['resize']): string;
protected tsize(val: Options['size']): string;
protected textend(val: Options['extend']): string;
protected textendAspectRatio(val: Options['extend_aspect_ratio']): string;
protected tgravity(val: Options['gravity']): string;
protected tcrop(val: Options['crop']): string;
protected ttrim(val: Options['trim']): string;
protected tpadding(val: Options['padding']): string;
protected tbackground(val: Options['background']): string | undefined;
protected tadjust(val: Options['adjust']): string;
protected tunsharpMasking(val: Options['unsharp_masking']): string;
protected tblurDetections(val: Options['blur_detections']): string;
protected tdrawDetections(val: Options['draw_detections']): string;
protected tgradient(val: Options['gradient']): string;
protected tskipProcessing(val: Options['skip_processing']): string;
protected tpreset(val: Options['preset']): string;
protected twatermark(val: Options['watermark']): string;
protected tformatQuality(val: Options['format_quality']): string;
protected tjpegOptions(val: Options['jpeg_options']): string;
protected tpngOptions(val: Options['png_options']): string;
protected tgifOptions(val: Options['gif_options']): string;
protected zoomOptions(val: Options['zoom']): string;
}