A command-line image processing tool written in Rust.
This tool has been tested with .png and .jpg files. Support for other formats has not been verified yet!
- Image downscaling (50% downscaling only for now)
- Batch downscaling of a directory of images
- Fast approximate k-means clustering to get the 'common colors' of an image, output as a new image
- Edge detection for a given image
- Pixel sorting with an option to select the 'direction' of the sorted pixels
- Denoise an image using nearest-neighbor averages
The new downscaled image will be saved under \path\to\image_downscaled
wyvern image-downscale "\path\to\image"
The output of this command will be saved under a new directory \path\to\directory\resized_images
wyvern batch-resize "\path\to\directory" png
The output is saved under \path\to\image_common_colors
wyvern common-colors "\path\to\image"
The new image will be saved under \path\to\image_edges
wyvern edge-detect "\path\to\image"
This will pixel sort and save the output under \path\to\image_pixelsorted
wyvern pixel-sort "path\to\image"
This will denoise a given image and save the denoised output under \path\to\image_denoised
wyvern denoise "path\to\image"
As always, use the --help flag to learn more about each command and the particular flags/args you can provide.