The following blog post is a test which codecs are supported by different browsers.
Originally, the image is encoded using HEIC.
The other versions are then generated from this original image using imagemagick, e.g., mogrify -format jpeg *.HEIC
.
Size has been checked with du -sh *
.
The compatibility tests were done 2023-10-01 with the current versions of the respective desktop browsers.
HEIC (Original Image)
- Wikipedia about HEIC
- Size: 2.2M
Firefox | Chrome | Safari |
---|---|---|
❌ | ❌ | ✅ |
JPEG
- Wikipedia about JPEG
- Size: 3.5M
Firefox | Chrome | Safari |
---|---|---|
✅ | ✅ | ✅ |
WebP
- Wikipedia about WebP
- Size: 1.3M
Firefox | Chrome | Safari |
---|---|---|
✅ | ✅ | ✅ |
AVIF
- Wikipedia about AVIF
- Size: 888K
Firefox | Chrome | Safari |
---|---|---|
✅ | ✅ | ✅ |