#pixel #pixel-format #data #type #bitpacked

pixel_formats

Types for various pixel formats

6 releases

0.1.5 Mar 28, 2023
0.1.4 Mar 28, 2023

#1364 in Algorithms

Download history 51/week @ 2023-12-08 59/week @ 2023-12-15 48/week @ 2023-12-22 33/week @ 2023-12-29 47/week @ 2024-01-05 53/week @ 2024-01-12 68/week @ 2024-01-19 55/week @ 2024-01-26 47/week @ 2024-02-02 53/week @ 2024-02-09 83/week @ 2024-02-16 137/week @ 2024-02-23 71/week @ 2024-03-01 75/week @ 2024-03-08 63/week @ 2024-03-15 68/week @ 2024-03-22

283 downloads per month
Used in 3 crates

Zlib OR Apache-2.0 OR MIT

14KB
354 lines

Docs.rs

pixel_formats

Types for various pixel formats.


lib.rs:

Structs for various pixels formats.

Format types expose public fields where possible, though formats with bitpacked data must use accessor methods.

The docs for each type have notes on the appropriate constants to let that type be used with GL or VK.

Dependencies

~0.5–1MB
~22K SLoC