-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
81: Make a new system for converting to and from arrays and slices r=Ogeon a=Ogeon This should make some interoperability with other systems better, by making it easier to convert buffers and individual pixels to palette colors. This includes * Bit by bit conversion system for colors. * `Rgb` works with `u8` and other integer types. * `Luma` works with `u8` and other integer types, and can also be non-linear. * Implements `AsRef` to convert colors to raw data. * A slight improvement to the hue types. No need to explicitly call `.into()` when setting a hue. Closes #74
- Loading branch information
Showing
49 changed files
with
3,341 additions
and
1,945 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
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
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
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
Oops, something went wrong.