06-02-2014, 10:05 AM
(This post was last modified: 06-02-2014, 10:06 AM by Raccoon Sam.)
i dunno if this is helping/derailing/whatever but perhaps some of the more pure icons could be automated? i know that there are several scripting gurus here so tell me if this is feasible or stupid
1. take old icon as input
2. overlay empty icon over it
3. compare the two and if pixel 1 is the same (± ~2 R/G/B units) in both, output black. If different, output white. continue to pixel 2 until all 12305 pixel have been compared
4. disregard the top 31 pixels and use the b/w image as an alpha channel for the original icon
5. If the width/height of the output sprite ≤ (148||125) / 2 then double its size with linear interpolation. if too big, keep as it is.
6. overlay the sprite to the new bounds and fetch the title from the sheet info and queue it to a dummy approval site where all the ready icons go
7. run the script on every goddamn icon and manually approve each the next morning
probably some other arguments could be added to weed out the false positives but i dunno
edit: i mean there's like a billion icons, i could imagine some automation would help
1. take old icon as input
2. overlay empty icon over it
3. compare the two and if pixel 1 is the same (± ~2 R/G/B units) in both, output black. If different, output white. continue to pixel 2 until all 12305 pixel have been compared
4. disregard the top 31 pixels and use the b/w image as an alpha channel for the original icon
5. If the width/height of the output sprite ≤ (148||125) / 2 then double its size with linear interpolation. if too big, keep as it is.
6. overlay the sprite to the new bounds and fetch the title from the sheet info and queue it to a dummy approval site where all the ready icons go
7. run the script on every goddamn icon and manually approve each the next morning
probably some other arguments could be added to weed out the false positives but i dunno
edit: i mean there's like a billion icons, i could imagine some automation would help