| Server IP : 159.203.156.69 / Your IP : 216.73.216.28 Web Server : nginx/1.24.0 System : Linux main-ubuntu 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/tanviranik.com/node_modules/unpic/script/src/providers/ |
Upload File : |
import type { Operations, URLExtractor, URLGenerator, URLTransformer } from "../types.js";
type Dimension = number | string;
type Dimensions = `${Dimension}x${Dimension}`;
export interface UploadcareOperations extends Operations {
/** Resize the image to fit within the specified dimensions while maintaining aspect ratio */
preview?: Dimensions;
/** Resize the image to specified dimensions */
resize?: Dimensions | `${number | string}x` | `x${number | string}`;
/** Control how the image fits into the specified dimensions */
stretch?: "on" | "off" | "fill";
/** Resize the image intelligently to fit the specified dimensions */
smart_resize?: Dimensions;
/** Crop the image to specified dimensions */
crop?: string;
/** Scale and crop the image to specified dimensions */
scale_crop?: string;
/** Apply border radius to the image */
border_radius?: string;
/** Set the background color for transparent images */
setfill?: string;
/** Zoom in on detected objects in the image */
zoom_objects?: number;
/** Automatically rotate the image based on EXIF data */
autorotate?: "yes" | "no";
/** Rotate the image by a specified number of degrees */
rotate?: number;
/** Flip the image vertically */
flip?: boolean;
/** Mirror the image horizontally */
mirror?: boolean;
/** Set the quality of the output image */
quality?: "normal" | "better" | "best" | "lighter" | "lightest";
/** Enable or disable progressive image loading */
progressive?: "yes" | "no";
/** Control the removal of metadata from the image */
strip_meta?: "all" | "none" | "sensitive";
}
export interface UploadcareOptions {
/** The hostname for the Uploadcare CDN */
host?: string;
}
export declare const extract: URLExtractor<"uploadcare">;
export declare const generate: URLGenerator<"uploadcare">;
export declare const transform: URLTransformer<"uploadcare">;
export {};
//# sourceMappingURL=uploadcare.d.ts.map