PicScale.
Fast & Reliable

Compress, Resize, & Crop Images Effortlessly

A highly optimized, server-side image processing utility. Just pass your parameters via URL query strings and request instantly.

Live Preview Output
Load a demo image or enter an URL to see changes

API Documentation

PicScale allows real-time transformation of remote images using URL parameters.

Method: GET
Base Endpoint
https://picscale.vercel.app/image

Request Parameters

ParamTypeRequiredDescription
srcstringYesThe absolute URL of the remote image (JPEG, PNG, or WebP).
wintegerNoTarget output width in pixels. Keep empty to auto-calculate maintaining the original aspect ratio.
hintegerNoTarget output height in pixels. Keep empty to auto-calculate maintaining the original aspect ratio.
cropbooleanNoMust be set to 1 to activate. Scaled-and-cropped from the center to strictly fill target dimensions.
qintegerNoCompression scale value between 1 (lowest quality, highest compression) and 100. Default is 80.
formatstringNoConverts image output format. Acceptable inputs: original, webp, jpeg (or jpg), and png. Default is original.

HTML Implementation Example

HTML<!-- Example of integrating directly into web content -->
<imgsrc="https://picscale.vercel.app/image?src=https://unsplash.com/sample.jpg&w=400&h=300&crop=1&format=webp"alt="Cropped Thumbnail"loading="lazy">