#pixel-format #data #type

pixel_formats

Types for various pixel formats

6 releases

0.1.5 Mar 28, 2023
0.1.4 Mar 28, 2023

#840 in Images

Download history 49/week @ 2024-07-22 62/week @ 2024-07-29 77/week @ 2024-08-05 67/week @ 2024-08-12 57/week @ 2024-08-19 62/week @ 2024-08-26 68/week @ 2024-09-02 54/week @ 2024-09-09 39/week @ 2024-09-16 61/week @ 2024-09-23 55/week @ 2024-09-30 28/week @ 2024-10-07 64/week @ 2024-10-14 58/week @ 2024-10-21 63/week @ 2024-10-28 51/week @ 2024-11-04

242 downloads per month
Used in 4 crates (3 directly)

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.4–0.9MB
~19K SLoC