Replies: 1 comment 4 replies
-
You cannot use the WebP options and expect them to work. Setting the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to convert a Jpeg image to Avif format using the latest version of Magick.NET
I tried to apply the following code :
magickImage.Quality = 80;
magickImage.Settings.SetDefine(MagickFormat.Avif, "method", "4");
magickImage.Format = MagickFormat.Avif;
Which converts the image to Avif format, but with a terrible quality. And changing the Quality parameter or the method does not seem to have any effect (the size of the image file does not change).
I got the commands from this page : https://imagemagick.org/script/webp.php
I know these commands are used for the Webp format and can be incompatible in my context, but I could not find anything about Avif in the documentation
My question is :
Are there specific commands in Magick.NET to adjust the compression quality and speed on the Avif format, the same way we can do with the Webp format ?
Beta Was this translation helpful? Give feedback.
All reactions