image & video formats

Before serving images to a website or app try compressing them. Try different options and iterate until you find the balance between how crisp you need the img to look and file size.
smaller sized images will make your app load faster and more performant.

I analized zellerfeld website which uses VERY high quality looking videos and images. here are some of the files used:

img file formats

png

higher bitrate and supports transparency

jpeg

smallest, less bitrate, doesn't support transparency

SVG (scalable vector graphic).

webp

recommended standard rn for web and android
best quality/file size ratio
not supported by internet explorer I think (who cares?)

avif

even more modern optimizations than webp, might be less supported.

2025-05-21: I tried using avif instead of webp on webflow and the quality of images are much better and they take up less storage.

video file formats

usually mp4, or webm.

compression tools

image compression

video compression
VMAF is a score used to measure how close a compressed video looks to it's original source. one should aim for >95%.