# What exactly does the data in exported json represent?

**URL:** <https://community.aseprite.org/t/what-exactly-does-the-data-in-exported-json-represent/28435>\
**Category:** Help\
**Created:** [June 12, 2026, 9:51am UTC](https://community.aseprite.org/t/what-exactly-does-the-data-in-exported-json-represent/28435 "2026-06-12T09:51:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZweiEuro](https://community.aseprite.org/user_avatar/community.aseprite.org/zweieuro/32/26378_2.png) [@ZweiEuro](https://community.aseprite.org/u/ZweiEuro)\
**Post date:** [June 12, 2026, 9:51am UTC](https://community.aseprite.org/t/what-exactly-does-the-data-in-exported-json-represent/28435/1 "2026-06-12T09:51:30Z")

</div>

Hi!  
I am struggling to understand the output format of the json.

I tried it this way:  
Make a layer for the character.  
Draw the character into slices, up/down/left/right for each of the animations.  
Draw an idle, walk, and attack animation.

So i have a slice like wizard\_up, wizard\_down etc. With userdata like ‘#idle,#walk’ or ‘#attack’ to match it to the correct animation tag.  
I then added 3 animation tags, idle, walk and attack.

When i look at the generated png and the resulting json i am really confused, i cant really make sense of the coordinates in regard to the resulting png.  
idle\_0  
 → frame x/y seem correct, but why is the height 38?  
 → spriteSourceSize: 2,2 makes no sense to me since its no “size”. and h:8, w:38 makes no sense to me again

But fair enough, the placement seems correct?

but the slices i don’t get at all:  
“wizard\_up” → bounds is right inside nothing ?

What is the exact definition for each of the fields of the export ?

By far the most confusing is this:  
```json`  
{  
“filename”: “#walk\_0”,  
“frame”: { “x”: 2, “y”: 42, “w”: 8, “h”: 38 },  
“rotated”: false,  
“trimmed”: true,  
“spriteSourceSize”: { “x”: 2, “y”: 2, “w”: 8, “h”: 38 },  
“sourceSize”: { “w”: 128, “h”: 256 },  
“duration”: 100  
},  
{  
“filename”: “#walk\_1”,  
“frame”: { “x”: 12, “y”: 42, “w”: 8, “h”: 38 },  
“rotated”: false,  
“trimmed”: true,  
“spriteSourceSize”: { “x”: 2, “y”: 2, “w”: 8, “h”: 38 },  
“sourceSize”: { “w”: 128, “h”: 256 },  
“duration”: 100  
},  
``  
These are the two frames from the walking animation. I do expect them to only differ in the “x” frame coordinate since they are next to each other. nice.  
But this is only the first animation? The slice “wizard\_right” which this should be inside of, has no mention of the finished coordinates:  
```  
{  
“name”: “wizard\_right”,  
“color”: “#0000ffff”,  
“data”: “#walk,#idle”,  
“keys”: [  
{  
“frame”: 0,  
“bounds”: { “x”: 2, “y”: 2, “w”: 8, “h”: 8 },  
“pivot”: { “x”: 3, “y”: 3 }  
}  
]  
}  
```  
So i am kinda stuck…

I am trying to learn/understand this workflow so i re-drew the animations from rotmg.

refs:

> **[\--data - Aseprite](https://www.aseprite.org/docs/cli/#data)**
>
> You can convert or export your sprites to other formats (or textures+json data) from the command line. See Platform-specific Details section to know how to use the command line. | Animated sprite editor & pixel art tool

I cant (sadly) attach the aseprite file to this post apparently.

The sprite sheet:

![player_characters](https://community.aseprite.org/uploads/default/original/3X/3/0/3076b586e4e6651e9219249dfeb0bc849bbd9e4e.png)

The json:

```json

````auto
{
  "frames": [
    {
      "filename": "#idle_0",
      "frame": { "x": 38, "y": 2, "w": 8, "h": 38 },
      "rotated": false,
      "trimmed": true,
      "spriteSourceSize": { "x": 2, "y": 2, "w": 8, "h": 38 },
      "sourceSize": { "w": 128, "h": 256 },
      "duration": 100
    },
    {
      "filename": "#walk_0",
      "frame": { "x": 2, "y": 42, "w": 8, "h": 38 },
      "rotated": false,
      "trimmed": true,
      "spriteSourceSize": { "x": 2, "y": 2, "w": 8, "h": 38 },
      "sourceSize": { "w": 128, "h": 256 },
      "duration": 100
    },
    {
      "filename": "#walk_1",
      "frame": { "x": 12, "y": 42, "w": 8, "h": 38 },
      "rotated": false,
      "trimmed": true,
      "spriteSourceSize": { "x": 2, "y": 2, "w": 8, "h": 38 },
      "sourceSize": { "w": 128, "h": 256 },
      "duration": 100
    },
    {
      "filename": "#attack_0",
      "frame": { "x": 2, "y": 2, "w": 16, "h": 38 },
      "rotated": false,
      "trimmed": true,
      "spriteSourceSize": { "x": 12, "y": 2, "w": 16, "h": 38 },
      "sourceSize": { "w": 128, "h": 256 },
      "duration": 100
    },
    {
      "filename": "#attack_1",
      "frame": { "x": 20, "y": 2, "w": 16, "h": 38 },
      "rotated": false,
      "trimmed": true,
      "spriteSourceSize": { "x": 12, "y": 2, "w": 16, "h": 38 },
      "sourceSize": { "w": 128, "h": 256 },
      "duration": 100
    }
  ],
  "meta": {
    "app": "http://www.aseprite.org/",
    "version": "1.3.17.2-x64",
    "image": "player_characters.png",
    "format": "RGBA8888",
    "size": { "w": 48, "h": 82 },
    "scale": "1",
    "frameTags": [
      {
        "name": "idle",
        "from": 0,
        "to": 0,
        "direction": "forward",
        "color": "#000000ff"
      },
      {
        "name": "walk",
        "from": 1,
        "to": 2,
        "direction": "forward",
        "color": "#000000ff"
      },
      {
        "name": "attack",
        "from": 3,
        "to": 4,
        "direction": "forward",
        "color": "#000000ff"
      }
    ],
    "layers": [
      { "name": "wizard", "opacity": 255, "blendMode": "normal" }
    ],
    "slices": [
      {
        "name": "wizard_up",
        "color": "#0000ffff",
        "data": "#attack",
        "keys": [
          {
            "frame": 0,
            "bounds": { "x": 12, "y": 32, "w": 8, "h": 8 },
            "pivot": { "x": 3, "y": 3 }
          }
        ]
      },
      {
        "name": "wizard_down",
        "color": "#0000ffff",
        "data": "#attack",
        "keys": [
          {
            "frame": 0,
            "bounds": { "x": 12, "y": 22, "w": 8, "h": 8 },
            "pivot": { "x": 3, "y": 3 }
          }
        ]
      },
      {
        "name": "wizard_left",
        "color": "#0000ffff",
        "data": "#attack",
        "keys": [
          {
            "frame": 0,
            "bounds": { "x": 12, "y": 12, "w": 16, "h": 8 },
            "pivot": { "x": 12, "y": 3 }
          }
        ]
      },
      {
        "name": "wizard_right",
        "color": "#0000ffff",
        "data": "#attack",
        "keys": [
          {
            "frame": 0,
            "bounds": { "x": 12, "y": 2, "w": 16, "h": 8 },
            "pivot": { "x": 3, "y": 3 }
          }
        ]
      },
      {
        "name": "wizard_up",
        "color": "#0000ffff",
        "data": "#walk,#idle",
        "keys": [
          {
            "frame": 0,
            "bounds": { "x": 2, "y": 32, "w": 8, "h": 8 },
            "pivot": { "x": 3, "y": 3 }
          }
        ]
      },
      {
        "name": "wizard_down",
        "color": "#0000ffff",
        "data": "#walk,#idle",
        "keys": [
          {
            "frame": 0,
            "bounds": { "x": 2, "y": 22, "w": 8, "h": 8 },
            "pivot": { "x": 3, "y": 3 }
          }
        ]
      },
      {
        "name": "wizard_left",
        "color": "#0000ffff",
        "data": "#walk,#idle",
        "keys": [
          {
            "frame": 0,
            "bounds": { "x": 2, "y": 12, "w": 8, "h": 8 },
            "pivot": { "x": 3, "y": 3 }
          }
        ]
      },
      {
        "name": "wizard_right",
        "color": "#0000ffff",
        "data": "#walk,#idle",
        "keys": [
          {
            "frame": 0,
            "bounds": { "x": 2, "y": 2, "w": 8, "h": 8 },
            "pivot": { "x": 3, "y": 3 }
          }
        ]
      }
    ]
  }
}
```

````
