-
Notifications
You must be signed in to change notification settings - Fork 996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add AVIF support for resize_image() function #2780
base: next
Are you sure you want to change the base?
Conversation
Is it necessary to add encoding speed arguement for To compare time consumed to
The results tell the speed make significant sense for encoding. Accoding to https://www.reddit.com/r/AV1/comments/qie51c/why_when_encoding_avif_images_with_avifenc_on/ , the speed |
What's the difference for the images themselves? |
The difference is the size of output avif files. Speed 1 is the smallest, and the size of speed 10 is at least twice the size of speed 1. It would be better to choose the middle value, such as 6. Btw, I tested the time with quality 75 for all. |
A middle value is fine |
The work for adding AVIF support for
resize_image()
has been finished, with pure rust crate.With this feature, user may convert their images into avif format and the size will be reduced significantly.
However, the speed is slow in the developing env of GITHUB Code Space. I will take further tests on my machine.
Sanity check:
Code changes
(Delete or ignore this section for documentation changes)
next
branch?If the change is a new feature or adding to/changing an existing one: