Supported Formats

Complete reference of all input and output formats

Input Image Formats

TextureAtlas Toolbox supports the following image file types as texture atlas inputs:

FormatExtensionsNotes
PNG.pngRecommended for sprites with transparency
AVIF.avifModern format with excellent compression
BMP.bmpUncompressed bitmap
DDS.ddsDirectDraw Surface (GPU-compressed textures)
JPEG.jpg, .jpegLossy compressed (no transparency)
KTX2.ktx2Khronos Texture (GPU-compressed textures)
TGA.tgaTruevision Targa
TIFF.tiff, .tifTagged Image File Format
WebP.webpModern web format

Input Metadata Formats

The application automatically detects and parses the following texture atlas metadata formats:

XML Formats

Starling/Sparrow XML

Most common format used by texture packers (.xml)

TexturePacker XML

TexturePacker generic XML variant (.xml)

JSON Formats

JSON Hash

Sprites keyed by name (.json)

JSON Array

Sprites in array order (.json)

Aseprite JSON

Exported from Aseprite (.json)

Phaser 3 JSON

Phaser game framework format (.json)

Egret2D JSON

Egret game engine format (.json)

Atlas & Text Formats

Spine Atlas

Spine animation format (.atlas)

libGDX Atlas

libGDX game framework format (.atlas)

TexturePacker TXT

Simple text-based format (.txt)

Plist (Cocos2d)

Apple property list format (.plist)

UIKit Plist

iOS UIKit variant (.plist)

Engine-Specific Formats

Godot Atlas

Godot game engine (.tpsheet, .tpset)

Paper2D

Unreal Engine Paper2D (.paper2dsprites)

Unity TexturePacker

Unity-compatible format (.tpsheet)

CSS Spritesheet

CSS background-position definitions (.css)

Adobe Animate

Adobe Animate Spritemap

Animation.json + spritemap.json pairs with matrix transforms

Note: Adobe Animate Spritemaps are significantly more memory-intensive than other formats. Expect higher RAM and CPU usage.

Metadata-Free Extraction

For texture atlases without metadata files, the application can extract sprites using two methods:

Color Keying

Automatically removes solid background colors to isolate individual sprites from the atlas.

Grid-Based Slicing

Divides the image into equal-sized cells, useful for uniform sprite sheets.

Animation Output Formats

Three animated image formats are supported for extraction:

FormatBest ForKey FeaturesLimitations
GIFUniversal compatibility1-bit transparency, works everywhere256 colors max, no partial transparency
WebPModern web applications8-bit transparency, superior compressionOlder software may not support it
APNGHigh-quality animations24-bit color, full alpha channelLimited software support, larger files

All three support frame duration/FPS control, per-frame delays, scaling, cropping, loop period configuration, and duplicate frame removal.

Frame Output Formats

Individual frames can be exported in these formats:

FormatExtensionFeatures
PNG.pngLossless, full transparency, recommended default
AVIF.avifModern format, excellent compression with quality settings
WebP.webpBoth lossy and lossless, wide support
BMP.bmpUncompressed bitmap, legacy support
DDS.ddsDirectX texture format, GPU-compressed
KTX2.ktx2Khronos GPU texture container
TGA.tgaTruevision format, game development
TIFF.tiffProfessional imaging, multiple compression options

Generated Metadata Formats

The Generate tab can create atlas metadata in 16 formats:

FormatExtensionUse Case
Sparrow/Starling XML.xmlFlash/AIR, HaxeFlixel, OpenFL
TexturePacker XML.xmlTexturePacker compatibility
JSON Hash.jsonGeneral purpose, easy parsing
JSON Array.jsonOrdered frame data
Aseprite JSON.jsonAseprite compatibility
Spine Atlas.atlasSpine 2D animations
libGDX Atlas.atlaslibGDX game framework
Phaser 3 JSON.jsonPhaser game framework
CSS Spritesheet.cssWeb development
Plain Text.txtSimple text format
Plist (Cocos2d).plistCocos2d game engine
UIKit Plist.plistiOS native development
Godot Atlas.tpsheetGodot game engine
Egret2D JSON.jsonEgret game engine
Paper2D.paper2dspritesUnreal Engine 4/5
Unity TexturePacker.tpsheetUnity game engine

GPU Texture Containers

When GPU texture compression is enabled in the Generator, the atlas image is saved in a GPU-native container:

ContainerExtensionSupported FormatsUse Case
DDS.ddsBC1, BC3, BC7 onlyDesktop games (DirectX)
KTX2.ktx2All formats (BC, ETC, ASTC, PVRTC)Mobile, Vulkan, WebGL, cross-platform

See the GPU Texture Compression page for detailed format specifications.

Rotation and Flip Support

Not all metadata formats support rotated or flipped sprites in the generated atlas:

FeatureSupported Formats
90° RotationStarling XML, JSON Hash/Array, Aseprite, TexturePacker XML, Spine, Phaser 3, Plist, Paper2D
FlipStarling XML only (HaxeFlixel extension)
GPU CompressionJSON Hash/Array, Spine, Phaser 3, Plist, Godot, Egret2D, Paper2D, Unity

Note: Flip support is non-standard. Only HaxeFlixel's Sparrow implementation reads flip attributes. Most engines ignore them.

More resources