What is image compression?
Image compression stores the same picture in fewer bytes while keeping visual quality acceptable. It usually leaves the pixel dimensions unchanged and reduces file size by discarding colour information, removing redundant data or using a more efficient encoding.
Compression can be lossless or lossy. Lossless compression only removes redundant data that can be restored, so quality stays identical. Lossy compression discards details the eye is unlikely to notice in exchange for a much smaller file. docsmall uses lossy compression with four levels, so you control the trade-off between quality and size.
- Dimensions stay the same: a 1920 × 960 image remains 1920 × 960 after compression.
- The format stays the same: JPG produces JPG, PNG produces PNG and WebP produces WebP.
- The original file is never modified: the compressed result is downloaded as a new file.



