#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

#839 in Images

Download history 51/week @ 2024-07-26 75/week @ 2024-08-02 69/week @ 2024-08-09 61/week @ 2024-08-16 60/week @ 2024-08-23 66/week @ 2024-08-30 57/week @ 2024-09-06 48/week @ 2024-09-13 53/week @ 2024-09-20 57/week @ 2024-09-27 37/week @ 2024-10-04 60/week @ 2024-10-11 54/week @ 2024-10-18 51/week @ 2024-10-25 68/week @ 2024-11-01 21/week @ 2024-11-08

204 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