Image Studio

Convert between WebP, JPEG, and PNG, compress, resize proportionally, and strip EXIF metadata locally.

Output format
Resize mode
Scale (%)
Quality (%)
Output dimensions1200 × 800 px
Aspect ratio3:2 (0.96 MP)
Pixel reduction0%

EXIF/GPS metadata stripped via Canvas re-encoding

Use from the terminal (JSON)

This tool also runs outside the site: the cli.js script uses the same logic as this page and returns the result as JSON. Parameters are the same as this page's URL — copy the command below with the values on screen.

Deno
deno run -q "https://tools.thecodecodex.com/cli.js?tool=image-studio"
Node.js / Bun
curl -s https://tools.thecodecodex.com/cli.js | node --input-type=module - image-studio fmt=…
ParameterDescriptionDefault
fmtwebp | jpeg | pngwebp
qqualidade (10-100)85
modescale | max-width | exactscale
scaleescala percentual (10-200)100
wlargura de referência ou alvo (px)1920
haltura de referência ou alvo (px)1080
exif1 = remove metadados EXIF1

Requires Deno, Node.js or Bun. With Deno the script runs with no permissions: it cannot read files or access the network. Central Bank indicators are from the day the site was published.

More in PDF & Files