Discover Packages
github.com/LeeWannacott/gontage
command
module
Version:
v1.22.1
Opens a new window with list of versions in this module.
Published: Sep 5, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Gontage
Create spritesheets from multiple folders of sprites/images up to ~48x+ faster than ImageMagicks montage
command.
Install
go install github.com/LeeWannacott/gontage@latest
Usage:
gontage -h
Example:
Benchmarking:
Multiple folders containing sprites -mf:
gontage was up to ~48x faster than montage at creating multiple spritesheets (tested on a 12 core AMD 5900x )
Single folder -f:
At around the same level of compression:
vs.
Image comparison:
Reference images 33 - 40 :
Gontage:
Montage 7:
Other Info:
Using an appImage for ImageMagick adds around 0.8seconds to startup time when running montage...
Building an equivalent in NodeJS took around ~700ms (800ms with Bun) for one folder 7x slower than Gontage (~90ms) and 2x slower than Montage (~350ms).
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.