#image #encoder #image-processing #codec #byte #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

#896 in Images

Download history 19/week @ 2024-07-22 52/week @ 2024-07-29 30/week @ 2024-08-05 22/week @ 2024-08-12 19/week @ 2024-08-19 32/week @ 2024-08-26 8/week @ 2024-09-02 15/week @ 2024-09-09 23/week @ 2024-09-16 51/week @ 2024-09-23 19/week @ 2024-09-30 13/week @ 2024-10-07 32/week @ 2024-10-14 14/week @ 2024-10-21 14/week @ 2024-10-28 26/week @ 2024-11-04

87 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

~74–265KB