Search found 3 matches

by Tusker
2015-11-14T11:19:33-07:00
Forum: Users
Topic: Batch crop multiple sprites while preserving midpoint
Replies: 5
Views: 2705

Re: Batch crop multiple sprites while preserving midpoint

Hi snibgo, thanks for your feedback. I tested out your sample code, and it worked, however it doesn't preserve the negative space I need on the right side in order to keep the circle centered horizontally. Would that have to be calculated and added back in later on? Otherwise, this seems to be going ...
by Tusker
2015-11-14T01:24:45-07:00
Forum: Users
Topic: Batch crop multiple sprites while preserving midpoint
Replies: 5
Views: 2705

Re: Batch crop multiple sprites while preserving midpoint

Thanks for the responses. preview image and sample images here: http://imgur.com/a/gpgDR This is a very basic preview and sample images. I can't show any of the actual sprites for various reasons, but this is the exact same concept, just using circles. The entire process is almost like finding the ...
by Tusker
2015-11-13T22:52:29-07:00
Forum: Users
Topic: Batch crop multiple sprites while preserving midpoint
Replies: 5
Views: 2705

Batch crop multiple sprites while preserving midpoint

I have thousands of character sprites (though, really they're just PNG files with transparency) which were saved out from Maya, which is a 3D program. These are character animations, with almost all of them being 12 frames each. Each animation is rendered from each of the 8 cardinal directions. In ...