LibGfx/JPEG: Add a deringing pass to the encoder#26313
LibGfx/JPEG: Add a deringing pass to the encoder#26313LucasChollet wants to merge 1 commit intoSerenityOS:masterfrom
Conversation
4e2cd96 to
f1aba02
Compare
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! |
The idea is described here https://kornel.ski/deringing/. And allows reducing the noise around sharp white edges. This is visible when encoding an image like `buggie.png`. One nice aspect of the optimization is that it only affects macroblocks where it can help.
f1aba02 to
3d8aa67
Compare
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! |
|
This pull request has been closed because it has not had recent activity. Feel free to re-open if you wish to still contribute these changes. Thank you for your contributions! |
|
@nico do you want to take a look at this? |
I do! I did look at it a few weeks ago and it looked sufficiently different from ImageOptim/mozjpeg-cocoa@ecb1751 that I got scared, decided I needed more time, and then didn't get back to it. If you're reasonably confident that it's good, feel free to just hit merge! :) |
|
I think it's good to go, but I always like your feedback so I'll let the PR open until the next round of the stale bot. |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! |
The idea is described here https://kornel.ski/deringing/. And allows reducing the noise around sharp white edges. This is visible when encoding an image like
buggie.png. One nice aspect of the optimization is that it only affects macroblocks where it can help.Before:

After:

Diff:
