Skip to content
yutils
Example

Input

user.jpg (1920×1080, 543 KB)

Output

user_600x400.jpg (600×400, 78 KB)

Note

Source ratio (1.78) ≠ target ratio (1.5) → crop mode center-crops to exactly 600×400.

Usage guide

Use cases

  • Fit profile pictures to a fixed size (e.g., 600×400)
  • Resize and reduce file size for social or blog upload
  • Match width/height requirements on registration or admin forms
  • Generate thumbnails in bulk (aspect ratio preserved)
  • Cut down mobile data — drop JPEG quality to shrink file size

FAQ

Q.Is my file uploaded anywhere?
A.No. All processing happens in your browser via the Canvas API. The file never leaves your device.
Q.Can it handle big files?
A.Up to 20 MB. 4K or large RAW files depend on your browser's memory and may run slowly — not recommended.
Q.Which format should I pick?
A.Photos -> JPEG (best compression). Transparency required -> PNG (lossless). Modern browsers + smaller files -> WebP.