A downloadable extension for Windows, macOS, and Linux

Download NowName your own price

Center Image is a micro extension for Aseprite that provides an option to move image content precisely to the center of a sprite or selection.


Extension adds

  • New submenu - Edit > Center, including new options:
    • Center
    • Center X, with a default keyboard shortcut Alt+Shift+X
    • Center Y, with a default keyboard shortcut Alt+Shift+Y
    • Center (Weighted)
    • Center X (Weighted), with a default keyboard shortcut Ctrl+Alt+Shift+X
    • Center Y (Weighted), with a default keyboard shortcut Ctrl+Alt+Shift+Y
  • For backwards compatibility, using the extension with Aseprite version lower than v1.3-rc2 will show just Center and Center (Weighted) options under the Edit menu

See also

StatusReleased
CategoryTool
PlatformsWindows, macOS, Linux
Rating
Rated 5.0 out of 5 stars
(21 total ratings)
AuthorKacper Woźniak
TagsAseprite, center, extension, image, Pixel Art, plugin, script, Sprites

Download

Download NowName your own price

Click download now to get access to the following files:

Center Image v2.0.0 2 kB
Center Image v1.0.0 1 kB

Development log

Comments

Log in with itch.io to leave a comment.

Would be nice to have something like this except it just draws the center point.

(+1)

It’s possible to draw a pixel/point and then center it, producing the same result.

I avoid adding any options that could be achieved in two or three, already available, user actions, I’m worried about overcrowding the menus with too many options. ✌️

incredible how much work this saved me. you are god's strongest soldier

It doesn't work in my Aseprite(1.3-dev)

Does it cause an error? Do the new options appear in the menu? Does clicking on the new options cause any response from the application?

No

(1 edit)

I’m going to have to ask for more details in order to investigate this issue. Also, these extensions were not tested with unreleased versions of Aseprite built from the source.

It's a very reliable extension, but while trying to centre an already-centred image (just curious) relative to a selected area, it sometimes crashes Aseprite (I'm using beta 1.3-rc4, so the issue might stem from Aseprite itself). 

Still, thanks for all the hard work you put into making these extensions, and I hope you get hired by the Aseprite team someday.

Thanks for reporting the issue, I couldn’t seem to find a scenario that would reproduce this though. Do you have any more information that I could use to try and replicate this?

(1 edit)

Hmm, it seems to work fine now (I guess), but here are some steps that might recreate the issue:

  1. Draw an image and make it asymmetrical.
  2. Centre the image.
  3. Repeat step two (continuously if nothing happens).

I still think it has something to do with the beta version of Aseprite because it sometimes crashes unexpectedly.

So I tried replicating the issue by centering the image tens of times in a row with no luck, neither in the stable version nor in the beta.

Are you using some other extensions at the same time by any chance?

It was the only extension I used then, but I added a few more recently; it seems to be working fine now, though, and I haven't run into the issue for a while.

The extension is not loading in linux and if i extract it it also not works

Could you provide more information? Does it not install? What version of Aseprite are you using? What error do you get?

Thank you very much

No problem ✌️

This made my life so much easier, thanks!

(+1)

Simple and awesome ! Great job

Not really sure why, but right now the tool is just not working? I just got it into aseprite and its showing up just fine, but clicking the center button to activate it (selected area or not) just has no effect. Any conflict with magic pencil or FX? I believe those are also extensions you've made. Any ideas?

From what I tested it shouldn’t clash with any other extension.

It works only on the active cel (or all selected cels), so it could not do anything if you have an empty cel active (or a group selected, as these are not supported yet).

Perhaps a classic restart of Aseprite could help?

I gave it a try and it didn't have any effect, I might try a reinstall, but I'll let you know if I find out what the problem is

Oh my glob! I needed this so much. Thanks for creating such terrific extensions.

I love this! Thank you so much for your awesome extensions!

You’re welcome, I hope you’ll find it helpful ✌️