magic-kernel 0.1.1

Implementation of Magic Kernel family of resizing algorithms.
Documentation
  • Coverage
  • 85.71%
    6 out of 7 items documented1 out of 1 items with examples
  • Size
  • Source code size: 44.97 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.85 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • SevInf/magic-kernel-rust
    21 3 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • SevInf

Magic Kernel for Rust

Crates.io Version docs.rs

Implementation of Magic Kernel family of resizing algorithms.

Usage:

use magic_kernel::{magic_resize, Version};
magic_resize(
    &image,
    Version::MagicKernelSharp2021, // algorithm version to use
    Some(1500), // width
    Some(500), // height
);

image is expected to be an instance magic_kernel::ImageF64. Example of creating ImageF64 from image crate can be found in examples directory.