Responsive image size generator

Default widths run from 320 to 1920. Files wider than the source are skipped unless you allow upscaling. The ZIP contains the encoded images, not a text file renamed as a zip.

Responsive Image Size Generator

Widths are encoded at the stated pixel width. A 640w descriptor is used only when the file is 640 pixels wide. The sizes attribute is a layout hint, not a guarantee about which file a browser downloads. Device pixel ratio and zoom also matter.

Device pixel ratio

Raster width = CSS width × device pixel ratio. A 400×300 CSS box at ratio 2 suggests an 800×600 file. Reading the browser value stays on this device and is not stored as a fingerprint.