sheetsmithlib 0.1.3

The goto library for sprite sheet packing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use image::RgbaImage;

pub mod guillotiere_alg;

#[derive(Debug, PartialEq)]
pub enum Algorithm {
    Guillotiere,
}

pub fn pack_images_guillotiere(
    args: guillotiere_alg::GuillotiereArgs,
) -> Result<RgbaImage, anyhow::Error> {
    guillotiere_alg::pack_images_guillotiere(args)
}