TokenTool icon indicating copy to clipboard operation
TokenTool copied to clipboard

Add New File Format Support: AVIF

Open Grandsome opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. Add support for the AVIF file format, it has a comparable compression ratio to WebP, but less destructive when it comes to image quality. Currently, using WebP with the program, it works well most of the time, but sometimes the loss of quality is very noticeable, this happens far less often with AVIF, especially since most portrait source are already compressed, and we're compressing the image at least twice. I'm a bit loss of information averse.

Describe the solution you'd like I'm not sure which encoder library you guys use, but the official AVIF one is here, but FFmpeg and SAIL also support it.

Describe alternatives you've considered Currently, using WebP, it works well most of the time, but sometimes the loss of quality is very noticeable. Could still use JPEG, but I'm not sure if TokenTool can just crop a file losslessly if the output format is the same as the input one.

Additional context Current browser support 83%.

Grandsome avatar Mar 02 '23 18:03 Grandsome