Appearance
PackratSprite atlas packer
Combine PNG, BMP, TGA, and Aseprite frames into texture atlases.
Combine PNG, BMP, TGA, and Aseprite frames into texture atlases.
Packrat writes atlas images and data describing each frame's name, position, and size. Some export formats include code for loading and drawing the frames in an engine. You can also export generated glow and normal maps, or supply your own.
.packrat project to reuse the settings in the app or CLI.Read Sources and outputs for file naming, trimming, effect images, and size limits.
Keep each data file with the images it references. All formats below support atlases with several pages. A numbered data/image pair means files such as atlas_1.json and atlas_1.png; other formats list all pages in one file. The image extension follows your PNG, BMP, or TGA selection.
| Format | CLI --format | Data or code file | Multiple pages |
|---|---|---|---|
| LibGDX | libgdx | .atlas | One data file |
| LÖVE | love | .lua | One module |
| MonoGame | monogame | .cs | One class |
| MonoGame.Extended | monogame-extended | .json | Numbered data/image pairs |
| Raylib | raylib | .h | One header |
| SDL2 | sdl2 | .h | One header |
| SDL3 | sdl3 | .h | One header |
| Phaser | phaser | .json | One multi-atlas descriptor |
| PixiJS | pixijs | .json | Linked numbered descriptors |
| JSON Hash | json-hash | .json | Numbered data/image pairs |
| JSON Array | json-array | .json | Numbered data/image pairs |
| Generic XML | xml | .xml | Numbered data/image pairs |
| Packrat JSON | packrat-json | .json | One manifest |
| Pure C | pure-c | .h | Numbered data/image pairs |