#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

#26 in #family

Download history 35/week @ 2024-03-11 33/week @ 2024-03-18 56/week @ 2024-03-25 88/week @ 2024-04-01 32/week @ 2024-04-08 57/week @ 2024-04-15 46/week @ 2024-04-22 21/week @ 2024-04-29 50/week @ 2024-05-06 33/week @ 2024-05-13 33/week @ 2024-05-20 37/week @ 2024-05-27 41/week @ 2024-06-03 44/week @ 2024-06-10 36/week @ 2024-06-17 43/week @ 2024-06-24

166 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

~85–285KB