Skip to content

jochu/image-bin-packing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Bin Packing

This program does rectangle bin packing. It is intended to be used for generating packed sprite sheets.

It is currently in an experimental state and generates decent packing.

Usage

$ image-bin-packing input-images-dir output-image

image-bin-packing takes image specifications from stdin and outputs a series of ImageMagick commands that will generate the packed image.

Input Format

image width height
image' width' height'
...

Output Format

# SHEET: width height
# image x y orientation
imagemagick-command
# image' x y orientation
imagemagick-command
...

About

An experiment in image bin packing written in Haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published