Skip to content

Custom progressive steps for MozJPEG#1004

Draft
jakearchibald wants to merge 3 commits intodevfrom
one-pass-progressive
Draft

Custom progressive steps for MozJPEG#1004
jakearchibald wants to merge 3 commits intodevfrom
one-pass-progressive

Conversation

@jakearchibald
Copy link
Collaborator

@jakearchibald jakearchibald commented May 5, 2021

These progressive steps appear to play better with the DCT smoothing currently in Firefox and Chrome. However, I think there's a decoder bug right now, so it's possible we might not need this.

Or, maybe it should be upstreamed to MozJPEG itself?

@google-cla google-cla bot added the CLA: Yes label May 5, 2021
@jakearchibald
Copy link
Collaborator Author

I'm going to let this rest until the libjpeg-turbo decoder bugs are gone, but I still think there'll be a benefit to this.

Btw, https://static-misc-3.glitch.me/slow-img-load/ lets you slow-load images (you can select multiple)

scanptr->Se = 63;
scanptr->Ah = 1;
scanptr->Al = 0;
scanptr++;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll extract these into a little helper function once we've got the output looking right

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant