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

[Feature] better Trim options (per Tags, API, ) #3580

Open
Manukineko opened this issue Oct 31, 2022 · 3 comments
Open

[Feature] better Trim options (per Tags, API, ) #3580

Manukineko opened this issue Oct 31, 2022 · 3 comments
Assignees
Labels
feature Feature request, or something should be improved low priority scriptable The issue might be possible to be implemented with a script in the present or in the near future. time-5
Milestone

Comments

@Manukineko
Copy link

Hello,

I wonder if it would be possible to trim a group of frames based on the tag they belong to, and not based on the largest frame of the whole sprite.
I also looked into the API, but the trim parameters seem to be linked to app.command and so can't be use if you built a spritesheet manually like the Aseprite-Export-Tags script does it (but I'm not familiar with LUA and I could say crap).

I would also be able to trim as a square where the largest side of a frame would be the base size for the square. Not sure if it's relevant either XD

@Gasparoken
Copy link
Member

Thanks for your comments! I assume you are talking about an option in Export Sprite Sheet dialog. If you don't mind, I would like to know in what situation it is favorable to have this feature available.

@Gasparoken Gasparoken added feature Feature request, or something should be improved low priority time-5 scriptable The issue might be possible to be implemented with a script in the present or in the near future. labels Oct 31, 2022
@Manukineko
Copy link
Author

Thanks for your comments! I assume you are talking about an option in Export Sprite Sheet dialog. If you don't mind, I would like to know in what situation it is favorable to have this feature available.

Hello,
My use case is as follows:

  • Animations for a character are split by tag in a unique Aseprite file.
  • I export each tag as a horizontal strip
  • I import each strip in Gamemaker Studio 2

The thing is because the trim in Aseprite is applied on the whole sprite and not per tag, I have some animation with a lot of useless transparent borders. Of course, Gamemaker Studio has a function to trim that in its built-in image editor, and I could use just that buuuut it can be a real hassle with hundred of animations XD
That's why I was thinking of doing that when I export from Aseprite directly.

@Gasparoken
Copy link
Member

Good point! Thank you for your explanation.

@Gasparoken Gasparoken added this to the v1.3 milestone Oct 31, 2022
@Gasparoken Gasparoken self-assigned this Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request, or something should be improved low priority scriptable The issue might be possible to be implemented with a script in the present or in the near future. time-5
Projects
None yet
Development

No branches or pull requests

2 participants