PyTexturePacker review
A scriptable MaxRects packer with trimming, rotation, and several metadata formats.
Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026
PyTexturePacker is an open-source Python package for turning image files into sprite sheets or texture atlases. It is aimed at developers, particularly solo developers and small teams, who want atlas generation to fit into a programmatic workflow. The package is installed with pip and uses the MaxRectsBinPack algorithm. Its documented scope is a subset of TexturePacker’s features, so it is better suited to configurable packing tasks than to users seeking a broader authoring environment.
Packing controls are a central strength. Maximum texture width and height are configurable, with documented defaults of 4096 pixels each. Users can enable 90-degree sprite rotation and trim transparent borders, and set border, shape, and inner padding. Output image format is configurable, with PNG as the default. These options give developers control over how images are packed and presented in the atlas without changing the package’s focused, code-oriented nature.
The output can include metadata in plist, JSON, or CSV formats, and the package can create indexed multiple-atlas output using a filename placeholder. That makes it relevant when a project needs atlas data in one of those formats or needs packing split across multiple atlases. Support is offered by email. Choose PyTexturePacker if a Python-based, open-source MaxRects workflow and its documented packing and export options fit your needs; consider another tool if you need features beyond its stated subset or prefer a visual-first workflow.
PyTexturePacker pros and cons
- Where it wins
- Uses MaxRectsBinPack with configurable packing dimensions and padding
- Supports optional transparent-border trimming and 90-degree rotation
- Exports plist, JSON, or CSV metadata and indexed multiple atlases
- Where it doesn't
- Designed for programmatic workflows rather than a visual editor
- Implements only a subset of TexturePacker’s features
- Packing options require configuration in a Python workflow
PyTexturePacker fact sheet, pricing and score →
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update