Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sprite sheet padding on import #78

aseprite-bot opened this issue Aug 20, 2014 · 1 comment


None yet
4 participants
Copy link

commented Aug 20, 2014

From on February 21, 2012 13:48:52

What do you need to do? I think thzt adding padding to import sprite sheet would be useful. Some tile sheets add spaces between sprite, and thus, importing them with the space is quite annoyant. How would you like to do it? Adding two input boxes to define space width/height would be perfect, don't you agree?

Original issue:

@dacap dacap added this to the v1.1 milestone Nov 21, 2014


This comment has been minimized.

Copy link

commented Mar 14, 2015

I'm busy with a small game framework using your console command for creating the atlas.
What game programmers need is a 1px padding around each frame.
Sounds weird, but as the documentation say

Import note: When creating an image atlas or an image containing multiple animation frames, it is a good idea to add a single pixel border around each frame that extends the pixels at the edges of the frame. This will prevent rendering 'noise' caused by accidental fetches of pixels outside the frame, which can sometimes occur due to mathematical inaccuracies.

And I had that problem, but solved it by adding 1px padding by hand.
command option: --add-padding:1px

And the option to do only horizontal atlas:
Because some game frameworks say ;)
Multiple frame images are assumed to be laid out in a horizontal strip, in which case width and height are the dimensions of each frame, and the source image must be wide enough to contain the entire strip.
Sorry there is a --sheet-height=512 --sheet-width=512 already...

Less important, but its cool if its supported

Android definitely seems much more stable (at least on older devices) with power-of-2 size images.
And at least one device I've tested (HTC Hero / G2 Touch) refuses to load 1024x1024 images (512x512 may be max).

@dacap dacap added the export label Mar 18, 2015

@dacap dacap self-assigned this Mar 19, 2015

@dacap dacap changed the title Sprite Sheet Padding Sprite sheet padding on import Aug 5, 2015

@dacap dacap removed the export label Nov 17, 2015

@dacap dacap modified the milestones: v1.2, v1.1 Nov 17, 2015

@dacap dacap modified the milestones: v1.3, v1.4 Sep 12, 2017

@dacap dacap assigned Gasparoken and unassigned dacap Jan 3, 2019

@dacap dacap modified the milestones: v1.4, v1.3 Jan 3, 2019

Gasparoken added a commit to Gasparoken/aseprite that referenced this issue Jan 24, 2019

@dacap dacap closed this in d4607e8 Jan 29, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.