Releases: kornelski/cavif-rs
RGB encoding mode
Now you can pass --color=rgb
to encode RGB channels exactly as-is, without conversion to a "TV" color space. It should give slightly more precise color, but also results in bigger files. It's not that exciting. I wanted to add support for more interesting color spaces, but it turned out nobody else supports them yet, so I won't either.
Improved alpha channel support
The encoder contains AV1-friendly solution for "dirty alpha" problem. Invisible RGB colors of transparent pixels don't waste space any more. The filter can be disabled with --dirty-alpha
if you like large files with useless data.
JPEG reader now built-in
Now it can convert both PNG and JPEG files, on all platforms. It's using pure Rust decoders, so you don't need any extra system dependencies.
Cocoa image reader
On macOS, all image formats are now supported.
Hello wor1d
An early implementation of PNG to AVIF converter.
(JPEG support is coming in the next version)