Skip to content
PhotoTray

Utilities

Resize & Compress

One panel, four jobs: make photos smaller by dimension, make them smaller by file size, squeeze a PNG without losing anything, or cut out a rectangle.

What it accepts. PNG, JPG, JPEG, JFIF, JPE, WebP, AVIF, TIF, TIFF and GIF. HEIC and camera RAW are not handled here — convert them with Image Converter first, and the panel will tell you so if you drop one.

How to use it

  1. Open Resize & Compress.
  2. Drop images onto Drop images here, or click to browse. Clear all empties the list.
  3. Choose an Operation, fill in its fields, and press the button at the bottom.

The four operations

Resize (max dimensions) — caps the long edges. Pick a preset (1280 × 720, 1920 × 1080 (1080p), 2560 × 1440, 3840 × 2160 (4K)) or type your own Max width and Max height. Images already smaller than the cap are left alone — this never enlarges a photo — and the aspect ratio is always preserved. Leave one field empty for no cap on that axis; at least one is required.

Compress to a file size — type a Target file size in KB or MB. The image is re-encoded as JPEG at the highest quality that fits under your target, so the output is a .jpg even when the source is a PNG. If even the lowest quality is still too large, that file is reported rather than silently shrunk — cap the dimensions first. The minimum target is 1 KB.

Optimise PNG (no quality loss) — re-encodes PNGs at maximum compression. Other formats are copied through untouched, because re-encoding a JPEG would lose quality. The result is never larger than the original.

Crop — enter Left, Top, Width and Height in pixels. Coordinates are measured on the upright image, after any camera rotation is applied. Crop works on one image at a time.

Output

Saved to the Resized subfolder of your output folder.

If something goes wrong here

  • The button is greyed out. The current operation is missing something: a resize needs a width or a height, a target size needs at least 1 KB, and a crop needs a complete rectangle on exactly one image.
  • "HEIC and camera RAW files are not handled here." Convert them in Image Converter first, then bring the results back.
  • My PNG came back as a JPG. That is Compress to a file size doing its job — hitting a byte target requires JPEG. Use Optimise PNG if you need to stay a PNG.

Resize & Compress — the tool this page is about

Cap the long edge, hit a target file size, crop, or squeeze a PNG losslessly — whole folders at a time. No upload, so no file-size ceiling and no queue, and the settings you pick can become a rule that runs on every screenshot you take from then on. Learn more about the Resize & Compress.

Windows 10/11 (x64) · Free · No account

Get PhotoTray

Free for Windows 10 and 11. No account, no file limits, nothing uploaded.

Windows 10/11 (x64) · Free · No account