Skip to content
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

Better chroma subsampling #5

Open
Ser-Gen opened this issue Jan 12, 2019 · 0 comments
Open

Better chroma subsampling #5

Ser-Gen opened this issue Jan 12, 2019 · 0 comments

Comments

@Ser-Gen
Copy link

Ser-Gen commented Jan 12, 2019

Current subsampling implementation, as in libjpeg, makes contrast colors look blurry.
There are an attempts to make it better.

source 186289
source

petitojpeg 90 4:2:0 51118
petitojpeg 90 420

sjpeg 90 4:2:0 sharp 51071
sjpeg 90 420sharp

About implementations.
Some info from mozjpeg issues.
mozilla/mozjpeg#8
mozilla/mozjpeg#193
https://github.com/kornelski/jpeg-compressor#subsampling
https://github.com/kornelski/jpeg-compressor/blob/9eeb009fdb8673224de5be978574cb139e4b8bf6/jpge.cpp#L611

sjpeg has sharp yuv, like in webp, gives closer result.
https://github.com/webmproject/sjpeg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant