Skip to content

About

Rust implementation of Magic Kernel resizing algorithms

Resources

Stars

21 stars

Watchers

1 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

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.

About

Rust implementation of Magic Kernel resizing algorithms

Resources

Stars

21 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages