Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Cropping Data Outside the Canvas #1111
Aseprite allows cels to be larger than the document's visible dimensions. It... is impossible to get rid of the stuff outside the window without involved workarounds.
I understand the want to preserve the unseen pixels in certain cases. But one of the realities of this is that if you say... have a large animated image that you crop, your file (and the data it's consuming) will not get smaller, ever (that I've found), for the life of the file for those frames. What I've done in the past is saved as .gif and reloaded, but this gets rid of my layers and things.
Here is an example (gif) of a situation where this problem was created:
For the above I was able to use linked cels for the huge cropped image so it only occupied memory once, but for other scrolling demonstrations I've made, a huge image is there even after cropping in every frame.
I'm not sure adding a second option (called Crop Unseen(?)) is worth it. But maybe Crop with nothing selected could get rid of this unseen data instead of being grayed out?
Edit: Perhaps with a popup confirmation so the user can see what crop with nothing select is doing. If nothing is selected "Crop Non Visible Pixels? (Yes) (No)"
The commit 5d8af3c fixed the "buggy" part of this issue. Which means that now we can make files smaller manually erasing pixels (because cels will be get smaller and smaller). But there is no command to remove/crop all unseen areas automatically. That should be a new command.