-
Notifications
You must be signed in to change notification settings - Fork 8k
Open
Labels
Description
Is your feature request related to a problem? Please describe.
I've found a way to make the STB-Image JPEG decoder a little more accurate, and would like feedback on if this should be upstreamed.
Describe the solution you'd like
Hookup stbi_loadf("some.jpg") to use a float32 decoder(starting with the first iDCT, also resampling and color conversion). This effectively scavenges a few more bits for some of the pixels in some of the samplings.
Describe alternatives you've considered
Doing nothing is also fine. There's a code-complexity trade-off: several relatively simple functions in STB-Image need reimplemented.
Additional context
I hacked together a proof of concept here: github.com/rsaxvc/jFloaty
Reactions are currently unavailable