Skip to content

Prepare images for a website on Windows: format, size and privacy

Store note. ImageBatch Pro is available on this website and in our Telegram store: pay with PayPal, in US dollars, on its product page, or open it in the bot @Agitools_ai, pay in Telegram Stars, and the bot sends the ZIP to the same chat. Its prices are on its product page.

This checklist is useful even if you never use an AGI TOOLS product. Each step can be done with official, documented tools on your PC.

A short checklist (then the details)

  1. Pick a format that matches the picture and the page.
  2. Cap width and height to what the layout actually uses; keep the aspect ratio; do not enlarge.
  3. Compress, then look at the result. Do not trust a percentage on its own.
  4. Strip location and camera data unless you have a reason to keep it.
  5. Write a new folder. Leave the originals alone. Spot-check a few files.

1. Format

Photographs usually go out as JPEG or WebP. Graphics with sharp edges or transparency usually go out as PNG or lossless WebP. JPEG cannot keep transparency. WebP can be lossy or lossless.

web.dev's image-performance material is a solid, vendor-neutral starting point for these trade-offs. This guide does not claim a universal “best” format.

Out of scope here, and not in ImageBatch Pro 1.0 (from its product page): GIF, TIFF, HEIC and RAW input, animated images, watermarks and cropping. Convert or export those sources first if you need them on the web as a still JPEG, PNG or WebP.

For a folder-scale convert-and-shrink walkthrough, see How to batch convert and shrink images offline on Windows. For WebP specifically, including an illustrative cwebp size test, see Convert a folder of images to WebP.

2. Dimensions

A hero image shown at 1,200 CSS pixels does not need a 5,000-pixel original. Set a maximum width and height, keep the aspect ratio, and never enlarge a smaller file.

Ways to do that on Windows, without uploading:

  • PowerToys Image Resizer (Learn page): a File Explorer right-click resize, with Fit / Fill / Stretch. Microsoft describes PowerToys as “a set of free, open-source utilities.” Fill mode “Crops the image as needed” — skip Fill if you do not want a crop. This tool resizes; Microsoft says its fallback encoding “isn't a file type conversion tool.”
  • cwebp can resize as it encodes. Official docs: cwebp. On official cwebp 1.6.0, -resize width height with height 0 preserves aspect, and -resize_mode down_only avoids enlarging (cwebp -longhelp). Command tested on the Linux test machine used for this guide (see the illustrative test in the WebP guide):
cwebp -q 80 -resize 1600 0 -resize_mode down_only input.jpg -o output-1600.webp
  • ImageMagick magick mogrify can resize a folder. Official docs: imagemagick.org/mogrify. Those docs warn that mogrify overwrites the original unless you change the suffix with -format; use -path to write to another directory. ImageMagick was not run for this guide.

Social-network presets, cropping and an approximate safe-area preview are a different job. Social Resize Pro is a separate AGI TOOLS tool, available on this website and in our Telegram store.

3. Compression, checked by eye

File size matters for a page, but a number on a progress bar is not the whole story. Open a few results at the size they will be shown. Watch for muddy text, banding in skies, and smashed textures.

There is no single quality setting that is correct for every photo. Google's cwebp default quality is 75 on the 1.6.0 binary used for this guide (-q, from cwebp -longhelp). In an illustrative test on a synthetic 2,400 × 1,600 JPEG (1,965,777 bytes), cwebp -q 80 wrote 550,236 bytes; the same encode with a 1,600-pixel width cap wrote 212,602 bytes at 1,600 × 1,067. A simple 7,208-byte PNG graphic became larger at -q 80 (8,428 bytes) and smaller only with -lossless (1,182 bytes). Those figures are from official cwebp 1.6.0 on a Linux test machine, 16 November 2026, seed 20261116. They are not ImageBatch Pro results.

ImageBatch Pro lists three presets (Fast, Balanced — recommended — and Maximum compression) and lets you adjust quality. The page itself says a sample run used synthetic test images and that “your savings depend on your photos.” This guide does not add any product benchmark.

4. Privacy: location and camera data

Many phone and camera JPEGs include a GPS position and a camera model. If the pictures will be public, decide whether that belongs on the web.

  • cwebp 1.6.0 documents -metadata with default none (cwebp -longhelp).
  • PowerToys Image Resizer documents a CLI option --remove-metadata on its Learn page.
  • ImageMagick has its own metadata flags; read the current docs rather than assuming a default.

ImageBatch Pro states that GPS and camera details are removed by default, that camera rotation is corrected, and that transparency is kept. No further privacy claim is made here.

To clean photos you will not convert, for example JPEGs you publish as they are, EXIF Cleaner shows which images carry a GPS location and writes cleaned copies to a separate folder, so the originals stay as they are.

5. A new folder, then a spot-check

Write results to a new folder. Never overwrite the shoot or the catalogue original. Check a handful of files: dimensions, transparency if you needed it, and that the source folder is untouched. A file-by-file list helps when the folder is large. ImageBatch Pro states that it writes a CSV report of every file; this guide does not invent the columns.

Work stays on your PC. If you use a website that asks you to upload the folder to convert it, you are no longer in this “on your machine” checklist. Some in-browser tools process pixels locally in the tab (WebAssembly) and say they do not upload; that is still a browser page, not a desktop folder workflow, and you should read that tool's own privacy wording.

A Windows app that covers this checklist for a folder

ImageBatch Pro: batch convert and shrink folders on Windows (available on this website and in our Telegram store) is a desktop app that converts whole folders of JPEG, PNG, WebP and BMP to WebP, JPEG or PNG, optionally caps width and height (aspect ratio kept, never enlarged), leaves originals alone, writes a CSV report, and works fully offline (no upload, no account, no ads, no telemetry). It is sold on this website and in our Telegram store. Price and how to buy.

Buy ImageBatch Pro in the Telegram store (@Agitools_ai). About an order, send /paysupport in the bot.

How to Compress and Resize Many Images at Once on Windows0:58Watch on YouTubeNothing loads from YouTube until you press play. The player then loads from youtube-nocookie.com, YouTube's privacy-enhanced mode, and connects to Google's servers. Privacy