-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: decode to values up to 255, not 256 - step
This commit expands the color gamut. It does not increase color accuracy in the abstract (it is still one value to four or eight), but it may increase color accuracy in practice. Images as a whole most likely have more 255 than 248 or 252 color values. Use tables for encoding and decoding. It makes the mapping of values visible and easier to understand. It does not seem to reduce performance on large files.
- Loading branch information
Showing
1 changed file
with
60 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters