Xavier wrote: ↑07 Apr 2022, 11:16
What about WebP ?
It seems that, like PNGs, WebP was made more for single images for the web, as opposed to image sequences. That didn't stop PNGs to be, it seems, widely used for image sequences, so maybe it could be the same for the WebP format. I would imagine that it is not so much the fact that for the same quality WebP is smaller, but if it can handle aspect of frame size or colour depth that PNGs cannot, then maybe WebP could possibly be used as an alternative.
On WebP's Wikipedia page there is a mention of animated images:
Google has proposed using WebP for animated images as an alternative to the popular GIF format, citing the advantages of 24-bit color with transparency, combining frames with lossy and lossless compression in the same animation, and support for seeking to specific frames. Google reports a 64% reduction in file size for images converted from animated GIFs to lossy WebP, however with a very noticeable visual impact, both at default settings, and optimised settings. When converting using lossless WebP, a 19% reduction is achieved as reported by Google, although real world performance is nearer to 10%
Here is someone doing lots of test with WebP images:
Is there any benefit to using WebP images on my website?
There is a
plugin for Photoshop, to export WebP files. I couldn't find anything for After Effects or Fusion.
--------------------------------------------------------------------------------------------
Regarding recent video codecs, it seems that
HEIF and
AVIF were made partly with image sequences in mind. They seem to both support alpha channels:
AVIF - alpha compression?,
HEIF (High Efficiency Image File Format) Reader.
Here are talks of support for both formats in ffmpeg:
Here are some encoders/decoders:
Here are results of a
comparison made between AVIF and WebP:
- AVIF provides a smaller sized image compared to WebP.
- WebP works on only 8-bit depth, whereas AVIF supports 8, 10, and 12-bit, which will accept a broader range of images to be compressed.
- WebP supports only 4:2:0 channel, whereas AVIF supports 4:2:0, 4:2:2, and 4:4:4 channels.
- The image quality produced by WebP is lower than AVIF and even JPEG.
- AVIF supports HDR, which produces high luminosity images.
--------------------------------------------------------------------------------------------
The
JPEG2000 format, which supports alpha channels, could also maybe be another alternative.
There is a plugin for Photoshop, Premiere and After Effects
here to export as JPEG 2000.
Nevertheless, according to Adobe, there are few
disadvantages to that format which might restrict its implementation for a wider use:
- Many web browsers and photo-sharing websites don’t support the JPEG 2000 format. JPEG 2000 is rarely used outside of these niche areas.
- There’s no backward compatibility with the original JPEG format, so users need to be able to code in a different standard than what most images use.
- JPEG 2000 codecs use a significant amount of computer memory, which can lead to slow performance and compression times. The file type works best on computers with lots of RAM.