#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

#853 in Images

Download history 36/week @ 2024-01-08 28/week @ 2024-01-15 13/week @ 2024-01-22 5/week @ 2024-01-29 20/week @ 2024-02-05 31/week @ 2024-02-12 30/week @ 2024-02-19 56/week @ 2024-02-26 32/week @ 2024-03-04 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

230 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

~86–285KB