[package]
name = "pixelization"
version = "0.1.1"
edition = "2024"
authors = ["Alexandre Binninger"]
homepage = "https://github.com/AlexandreBinninger/pixelization"
repository = "https://github.com/AlexandreBinninger/pixelization"
readme = "README.md"
keywords = ["pixel", "pixelize", "quantization", "PIA", "kmeans"]
categories = ["graphics", "multimedia::images", "mathematics", "rendering"]
license = "MIT"
description = "An image quantization and pixelization library implementing K-Means and PIA (Pixelated Image Abstraction)."
exclude = ["assets/*", ".gitignore", ".git"]
[lib]
path = "src/lib.rs"
[[bin]]
name = "pixelize"
path = "src/main.rs"
required-features = ["cli"]
[dependencies.kmeans_colors]
version = "^0.6"
features = ["palette"]
[dependencies.palette]
version = "^0.7.3"
default-features = false
features = ["std"]
[dependencies]
image = "^0.24.9"
nalgebra = "^0.32.5"
rayon = "^1.10.0"
ndarray-linalg = { version = "^0.16.0", features = ["openblas-system"] }
ndarray = "^0.15.6"
thiserror = "2.0.17"
rand = "^0.8.5"
clap = { version = "4.5", features = ["derive"], optional = true }
minifb = { version = "0.25", optional = true }
[features]
default = []
cli = ["clap", "minifb"]