What if I only have a regular grid and no atlas JSON?
Use Roblox Image Rect Calculator to calculate crop coordinates for a grid. This JSON mapper is for atlas exports with already named frames.
Runs in your browser. No file uploads for processing.
Turn named TexturePacker or Aseprite JSON frames into Roblox ImageRectOffset and ImageRectSize, with a check for incompatible sprites.
Loading tool...
Export named sprites as JSON Hash or JSON Array, with rotation and trimming disabled for direct rectangles. Paste the JSON or choose the UTF-8 file. Optionally choose its original PNG to compare header dimensions.
The built-in example maps idle.png to offset (2, 4) and size (12, 16). Turned and trimmed frames are flagged and omitted. If the PNG dimensions disagree with the JSON, no export is made.
After uploading the atlas to Roblox yourself, use the named entry’s ImageRectOffset and ImageRectSize on an ImageLabel or ImageButton showing the matching atlas. Check a few sprites in Studio before use.
The tool processes inputs in your browser. Account features and usage analytics are separate.
Use Roblox Image Rect Calculator to calculate crop coordinates for a grid. This JSON mapper is for atlas exports with already named frames.
Provide a JSON Hash or JSON Array with named frames, frame x/y/w/h and explicit rotated and trimmed flags. The tool shows direct rectangles and exports them as a named Luau table.
No. These properties select an axis-aligned region. Re-export with rotation disabled. Turn trimming off too when you need direct crops with original frame placement.
No. It checks the JSON and optional local PNG header. It never edits the atlas or checks the uploaded Roblox asset; use the matching sheet and confirm crops in Studio.