Jpeg->Avif color changed #4720
Replies: 3 comments 2 replies
-
|
Hi @zhifengzhuang, your avifenc output is 10-bit, perhaps your mac is displaying it differently. Do you have an HDR screen? If I make 8-bit AVIF and compare to your jpg I see: So the average difference is small. Running |
Beta Was this translation helpful? Give feedback.
-
|
Hi @jcupitt. Yes, when I use vips copy, the result is the same. I noticed that the default effort parameter for vips heifsave is 4. When I set the effort to 2, the outcome changes. |
Beta Was this translation helpful? Give feedback.
-
|
You're right! Original, You can see the difference image has quite a strong blue cast. I suppose the solution is to avoid low effort conversion. This seems like an aom issue. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When converting JPEG to AVIF using libvips, the colors are changing. The command used is as follows.

vips heifsave origin.jpeg vips-10.avif --effort=2 --bitdepth=10 --compression=av1 --encoder=aomOrigin image is:
Avif result is:
vips-10.avif.zip
However, when I use avifenc, the result is normal. Unlike the grayish tint produced by vips after AVIF conversion, avifenc's output maintains the original image's predominantly green tone.


avifenc -c aom -q 50 --depth 10 --speed 7 origin.png avifenc-10.avifvips & avifenc version is:
Both run on my mac.
Beta Was this translation helpful? Give feedback.
All reactions