Skip to content

How to Compress Images on Windows

Compress images on Windows with Photos and Paint. Resize JPG and PNG, convert WebP, and batch compress with GetCompress.

By Petr Samokhin

Large PNG exports and camera JPEG files add up fast. Upload forms fail, Teams previews lag, and project folders swell with assets nobody views at full resolution. You usually need smaller dimensions, a different format, or both. Photos and Paint handle a few files; folders of mockups need a repeatable workflow. The same settings come back every sprint, which is why saved presets beat one-off exports.

Pick the right format

Choosing the wrong format wastes effort. Compression works best when the format matches how the image will be viewed.

FormatGood forWatch out for
JPEGPhotos, email, uploadsNo transparency; artifacts on sharp UI
PNGScreenshots, sharp UI, alphaLarge at full monitor resolution
WebPWebsites (with a fallback)Design tools often export PNG first
AVIFModern web delivery (with a fallback)Keep JPEG fallback in markup

When a CMS or client portal asks for JPEG but you only have PNG mockups, convert before you resize. See PNG to JPG on Windows for transparency tradeoffs. For web delivery, PNG to WebP on Windows covers the next step after you resize.

The display-size rule

Export at the pixel width the image will actually appear on screen, not at the size your monitor captured it.

Where it showsRule of thumb
Blog hero at 960 px CSS widthExport near 1920 px wide (2x for high-DPI)
Email inline image600 to 800 px wide is usually enough
Thumbnail in a deck or docMatch slide width, often 1280 to 1920 px
Full-screen photo reviewKeep higher resolution; compress with care

A 4000 px wide PNG displayed in a 800 px column still downloads like a poster. Resize first, then tune quality. That single step often cuts file size more than sliding a quality knob on an oversized original.

Check the layout in your CMS, Figma frame, or email template before you batch export. One saved width per project beats guessing each time.

When you are unsure, export slightly larger than the display size, then spot-check on a phone. It is easier to shrink once than to upsample a file that was exported too small.

Resize in Photos or Paint

Photos (Windows 11) is the fastest built-in path for camera and screenshot files:

  1. Open the image in Photos.
  2. Choose … → Resize image, pick a width, and save a copy.

Paint works on every Windows PC: open the file, choose Resize, set pixels or percentage, then Save as JPEG or PNG.

Both apps are slow for thirty mockups in a row. They also lack saved presets, so you repeat the same width and quality manually each sprint.

Save a copy instead of overwriting when the source file might go back into a design tool.

When WebP sources appear in the folder, convert to JPEG for email or see WebP to JPG on Windows for a dedicated conversion pass before resize.

Batch resize with FFmpeg

Open Command Prompt or PowerShell. Install FFmpeg with winget:

winget install --id Gyan.FFmpeg -e

Go to your folder (cd), create an output directory, then resize every JPEG:

mkdir out
Get-ChildItem *.jpg | ForEach-Object {
  ffmpeg -i $_.Name -vf scale=1920:-2 -q:v 3 "out\$($_.BaseName).jpg"
}

Convert PNG to JPEG:

ffmpeg -i screenshot.png -q:v 3 screenshot.jpg

FFmpeg is flexible but command-heavy. Mixed folders still need scripting, and there is no built-in preview before you overwrite a batch.

Document the scale and quality flags in your repo so teammates do not guess different FFmpeg settings on the same asset folder.

Smaller PNG with oxipng

For PNG screenshots, resizing helps most. Lossless recompression shaves extra bytes when the image must stay PNG for transparency.

Open Command Prompt or PowerShell. Install oxipng with winget:

winget install oxipng
oxipng -o 4 --strip safe screenshot.png

Run oxipng after you resize. Feeding a 4000 px PNG into oxipng alone rarely fixes a bloated export from a design tool.

For UI with flat colors, test lossless PNG first before you convert to JPEG and lose transparency.

Using GetCompress

GetCompress handles mixed image folders on Windows without upload. Useful when a handoff folder contains PNG, JPEG, and WebP from different sources.

  • Drop a folder of images into GetCompress and set max width, output format, and quality in one panel.
  • Apply the display-size rule with a saved preset (for example “web JPEG 1920px”) instead of retyping FFmpeg commands.
  • Preview before export when UI screenshots must stay sharp.
  • Batch compress images on Windows for upload or email without opening each file in Photos.
  • Convert PNG to JPEG or WebP in the same pass when the destination format is fixed.

GetCompress does not replace Paint for a quick one-off resize. It pays off when the same settings return every week. For disk space across photos, video, and PDF, pair this guide with reduce file size on Windows .

Folder monitoring in GetCompress can watch an export directory and compress new PNG or JPEG files automatically when your design tool drops fresh mockups into a shared handoff folder.

When AVIF is required for a modern site, convert from the same resized PNG source after you validate WebP quality, rather than maintaining three different export sizes.

Buy GetCompress now for local media compression with reusable presets and no media upload.