-
Notifications
You must be signed in to change notification settings - Fork 5
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
I don't know whether to consiser this a bugfix or a feature. It does not increase color accuracy (still four or eight values to one), but it does increase range. Use tables for encoding and decoding. It makes the mapping of values visible and easier to understand. It does not seem to affect 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