Reduce image size while checking quality

Compare pixel dimensions, output formats, file bytes, transparency, and visual quality before replacing an original.

Published: · Updated:

Camera beside large and small prints of the same flower photograph.

Define where the image will be used

Keep the original file and decide the required display dimensions before changing quality. A photograph, a screenshot with small text, and a transparent logo can respond differently to compression. Use a browser-supported raster input; the optimizer does not accept SVG, and animated inputs export a single still frame. A spirograph PNG can be resized after export like another raster image.

Reduce dimensions proportionally

A 1600 × 1200 image contains 1,920,000 pixels. Set width to 800 with proportions locked: height becomes 600 and the output has 480,000 pixels, one quarter of the original count. This does not promise one quarter of the bytes because file format and image content also affect encoding. Check the displayed dimensions after processing.

Measure bytes and inspect the result

An output of 600,000 bytes from a 1,000,000-byte original is 40% smaller: (1 − 600,000 ÷ 1,000,000) × 100. An output of 1,100,000 bytes is 10% larger. Compare fine text, edges, gradients, and faces rather than accepting the smallest file automatically. Browser encoders can produce different results across browsers.

Choose a format with its tradeoffs

JPEG flattens transparency onto white. PNG is lossless after any resizing or palette changes, but can be larger. Lossy JPEG or WebP can introduce artifacts; palette reduction can change colors before encoding. Download and open the chosen output before replacing a file. The optimizer processes locally and does not retain a server copy of your original or export.

Before you use the result

  1. Keep the original and confirm required dimensions.
  2. Inspect quality and transparency alongside byte savings.
  3. Open the downloaded file before replacing or publishing an image.

Tools for this task

References