# Pixel Sprite Atlas (Aseprite JSON) > Turn a Flipline pixel sprite into a sprite sheet PNG plus Aseprite-style JSON for game engines. Paste a Flipline Pixel Studio project (.flipline-pixels.json). Get one sheet PNG and an atlas in the JSON layout Aseprite exports, which Phaser, Godot and many engine importers read: frame rectangles, durations, tags, layers and slices. Identical frames, such as linked cels, can share one sheet cell. Part of usefulweb.app (https://usefulweb.app/). Part of [Flipline](https://flipline.usefulweb.app/) (ownerApp: flipline). Results are deterministic calculations from the inputs and the listed assumptions; the API returns exactly what the web page shows. ## Use it - Human interface: https://fliplinepixelatlas.usefulweb.app/ (interactive tool at https://fliplinepixelatlas.usefulweb.app/tool) - JSON API: POST https://fliplinepixelatlas.usefulweb.app/api/v1/calculate with a JSON object of inputs (schema: https://fliplinepixelatlas.usefulweb.app/api/v1/tool) - OpenAPI: https://fliplinepixelatlas.usefulweb.app/openapi.json - MCP (Streamable HTTP): https://fliplinepixelatlas.usefulweb.app/mcp - tool `flipline_pixel_atlas` ## Inputs - project (textarea): Flipline pixel project (JSON) - scale (integer): Scale (whole pixels) - padding (integer): Padding (px) - columns (integer): Columns (0 = square-ish grid) - layout (select): JSON frames layout - mergeDuplicates (boolean): Identical frames share one cell ## Method - Frames are composited front to back with layer opacity, exactly as Pixel Studio shows them, and scaled by whole pixels (nearest neighbour). One grid cell per frame in timeline order, placed like the Sprite Sheet Layout Planner (row-major, padding around and between cells). - Durations come from frame holds and the sprite FPS (hold × 1000 / FPS, rounded to 10 ms like the GIF export). Saved ranges become frameTags with 0-based inclusive from/to; ping-pong is written as pingpong. Layers are listed bottom to top. Regions become slices with bounds, pivot and nine-slice center, all scaled. - With merging on, frames whose composited pixels are identical (linked cels, held poses) point to the same rectangle, like Aseprite’s Merge Duplicates. The JSON never trims or rotates frames, so spriteSourceSize equals the frame. ## Limits - Independent export in the documented Aseprite JSON layout; not affiliated with Aseprite. No trimming, rotation or packing other than a grid.