#image #decoder #byte #encoder #codec #family #color-space

no-std makepad-zune-core

Core utilities for image processing in the zune family of crates

1 unstable release

0.2.14 Sep 20, 2023

#16 in #family

Download history 25/week @ 2023-12-14 26/week @ 2023-12-21 10/week @ 2023-12-28 19/week @ 2024-01-04 33/week @ 2024-01-11 20/week @ 2024-01-18 13/week @ 2024-01-25 8/week @ 2024-02-01 20/week @ 2024-02-08 38/week @ 2024-02-15 39/week @ 2024-02-22 45/week @ 2024-02-29 35/week @ 2024-03-07 37/week @ 2024-03-14 45/week @ 2024-03-21 43/week @ 2024-03-28

167 downloads per month
Used in 10 crates (2 directly)

MIT OR Apache-2.0 OR Zlib

73KB
1K SLoC

Zune core

Core primitives necessary for image manipulations

This crate contains small set of primitives necessary for image manipulations which are shared among most zune- family of decoders and encoders.

Items present

Currently,it contains.

  • Colorspace definitions
  • Bit depth definitions.
  • Decoder and encoder options

lib.rs:

Core routines shared by all libraries

This crate provides a set of core routines shared by the decoders and encoders under zune umbrella

It currently contains

  • A bytestream reader and writer with endian aware reads and writes
  • Colorspace and bit depth information shared by images
  • Image decoder and encoder options
  • A simple enum type to hold image decoding results.

This library is #[no_std] with alloc feature needed for defining Vec which we need for storing decoded bytes.

Features

  • no_std: Enables #[no_std] compilation support.

  • serde: Enables serializing of some of the data structures present in the crate

Dependencies

~99–300KB