Coder Social home page Coder Social logo

Comments (4)

kornelski avatar kornelski commented on September 13, 2024 1

This crate always uses 444 (highest resolution) color sampling, so it isn't supposed to cause any distortions like this.

Do I understand correctly that you've encoded this image using a different tool and still saw the incorrect line? That would suggest it's a bug in the decoder, not the encoder.

I would prefer to kill chroma subsampling for good. AV1 handles color quite well, and doesn't need to continue the tradition of using a mathematically-dubious hack invented for an analog TV signal from more than a half century ago.

from cavif-rs.

woshilaiba avatar woshilaiba commented on September 13, 2024

This crate always uses 444 (highest resolution) color sampling, so it isn't supposed to cause any distortions like this.

Do I understand correctly that you've encoded this image using a different tool and still saw the incorrect line? That would suggest it's a bug in the decoder, not the encoder.

I've encoded this image using "avifenc", the cli is "avifenc -y 444 tray.png tray_avifenc.avif", and using "cavif" with "cavif -Q 50 tray.png" .
They both get the incorrect line at the right edge, but It is correct when I encode it with "avifenc -y 422 xxxx.png xxx.avif".
I'm not familiar with "Chroma Subsampling", just a guess!

operating system: Windows 10 subsystem for linux

from cavif-rs.

eugenesvk avatar eugenesvk commented on September 13, 2024

I've read in this blog that the vertical bar is an issue with Microsoft Photos, so might indeed be a decoder issue

Additionally, for avif images created by libavif, Microsoft Photos will have a strange vertical color bar on the right side of the images when the format is set to YUV444

from cavif-rs.

kornelski avatar kornelski commented on September 13, 2024

Yup, I think it's a decoder issue.

from cavif-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.