Image guides

Compare five downloads from the same image

·

Different image formats store the same picture differently. A transparent example makes those differences visible, even with a small file.

Image Format Comparison

Encode five copies of the RGBA sample

Select Load example. Keep quality at 75 and Compare formats. Each resulting image is 4 × 2 pixels. The results show the actual file size and its byte difference against this JPEG.

ToolMellow RGBA channel sample

Compare partial and full transparency

Look at the middle two samples in the bottom row. The second sample has alpha 128 and the third is fully transparent in the original. Compare their behavior in the downloaded formats.

Compare partial and full transparency
OutputOpacity behavior
JPEGWhite behind the source
PNG, WebP and AVIFCan store partial alpha
GIFAlpha 128 becomes opaque. Alpha 0 stays transparent.

ToolMellow RGBA channel sampleW3C PNG Third Edition, truecolor and alpha representationWebP Container SpecificationAOMedia AV1 Image File Format

Compare another quality on a larger image

Open a local photo or screenshot and run with quality 50, then 90. Compare the exact byte counts and previews. The quality number affects JPEG, WebP and AVIF according to their own encoder settings.

Download and reopen a candidate before replacing the original. Use a format whose transparency, appearance and file size fit the destination.

WebP Container SpecificationAOMedia AV1 Image File Format

Common questions

Why does an already small source grow after a conversion?

File headers and the different compression methods can take more space than the original encoding.

Does the comparison make an animated GIF?

The GIF candidate contains one frame from the still source.

Sources

Put it into practice.

Related guides