-
Notifications
You must be signed in to change notification settings - Fork 199
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
Poor compression from jpeg to avif via code #423
Comments
Hey @dAvagimyan, can you check what AVIF library your libvips build is built against, and check the latest libvips documentation for the parameters you can give? Sometimes we have stale parameters as libvips and/or the avif library libvips uses are updated and the govips API is out of date. |
vips version:
|
Yes, could you look at libvips documentation for the parameters you can give? Sometimes the libvips backend has changed or the parameters and govips needs to be updated. Libvips has an impressive speed of development and backend libraries differ even between environments, it's very challenging to maintain govips APIs |
Thanks, I'll take a look. But I tried got it behavior in differents os. (centos 7, ubuntu, also macos) |
Everything is ok! Thanks a lot. Avif conversion in console using quality 50%. |
Hi there! I'm using govips to convert jpg to avif. And I discovered that conversion from code works worse for me than conversion from the console. Could you help me figure it out? On large files the difference is 3 times. There is no such behavior with webp conversion
I tried effort with different values also with default cnf NewAvifExportParams()
size -> 1327450 -> cats.jpg - original
size ->1003222 -> cats.avif - via go code
size -> 404594 -> cats_inconsole.avif - via console (vips copy cats.jpg cats.avif )
It is golang code
it is origin;
The text was updated successfully, but these errors were encountered: