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=…
| Parameter | Description | Default |
|---|---|---|
| fmt | webp | jpeg | png | webp |
| q | qualidade (10-100) | 85 |
| mode | scale | max-width | exact | scale |
| scale | escala percentual (10-200) | 100 |
| w | largura de referência ou alvo (px) | 1920 |
| h | altura de referência ou alvo (px) | 1080 |
| exif | 1 = remove metadados EXIF | 1 |
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
- PDF StudioMerge multiple PDFs, split or reorder pages, rotate, add page numbers, stamp watermarks, edit metadata, and export pages as images.
- Images to PDFConvert photos and images (PNG, JPG, WebP, GIF, BMP, SVG) into a single PDF document with page size, orientation, and margin controls.
- PDF to ImageConvert PDF pages into high-resolution PNG, JPEG, or WebP images (1× to 3× DPI) directly in your browser.