Users browsing this thread: 7 Guest(s)
The VG Resource Icon Renovation
#52
For anyone using GIMP, I spent a couple of days learning script-fu, then Python, then making a plugin in Python to simplify the icon-making process a little. It's not a complete icon maker, due to the nature of icons sometimes having more than one sprite I couldn't really do that, but it does take a number of steps out of the process.

What it does is crops sprites. What you do is first make your foreground colour (in the tool dock) the same as the background colour of your sheet. Then, make a rectangular selection, and make sure the top-left corner is somewhere within the sprite you want to crop. The size of the selection doesn't matter. Then just run the plugin and it'll crop the image to the size of the sprite, with the background colour replaced with transparency.


Here's the script (I'd add it as an attachment but those still aren't working here). To install it simply place that file into C:\Users\sami\.gimp-2.8\plug-ins (that's for Windows 8, it might differ a bit depending on your OS). This is cross-platform by the way, so it should work for GIMP on Mac and Linux machines as well.

Here's a couple of important things you should note:
  • This won't work with sheets with transparent backgrounds, unfortunately. However those should be pretty easy anyway, just crop around the sprite, then autocrop the image and you'll have the same result.
  • The process will be a bit different for sheets with bounding boxes, although only if the sprite touches the edges of them. For example Slugnoid, you'll have to do it once for the white background, then again for the pink background (this works in the reverse order too, I think).
So yeah, hope that's helpful for some people! It certainly speeds up and simplifies the process for me, and the quicker we get these done the better!
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford


Messages In This Thread
The VG Resource Icon Renovation - by Petie - 06-01-2014, 07:02 PM
RE: The VG Resource Icon Renovation - by Dazz - 06-02-2014, 09:22 AM
RE: The VG Resource Icon Renovation - by Key0808 - 06-02-2014, 01:59 AM
RE: The VG Resource Icon Renovation - by Key0808 - 06-03-2014, 01:43 AM
RE: The VG Resource Icon Renovation - by Petie - 06-04-2014, 06:53 PM
RE: The VG Resource Icon Renovation - by puggsoy - 06-02-2014, 02:07 AM
RE: The VG Resource Icon Renovation - by Dazz - 06-02-2014, 09:00 AM
RE: The VG Resource Icon Renovation - by Dazz - 06-02-2014, 10:31 AM
RE: The VG Resource Icon Renovation - by Dazz - 06-02-2014, 10:55 AM
RE: The VG Resource Icon Renovation - by Omega - 06-02-2014, 12:57 PM
RE: The VG Resource Icon Renovation - by Dazz - 06-02-2014, 01:37 PM
RE: The VG Resource Icon Renovation - by Petie - 06-02-2014, 02:51 PM
RE: The VG Resource Icon Renovation - by puggsoy - 06-02-2014, 06:40 PM
RE: The VG Resource Icon Renovation - by Petie - 06-02-2014, 07:35 PM
RE: The VG Resource Icon Renovation - by Dazz - 06-03-2014, 02:31 AM
RE: The VG Resource Icon Renovation - by Dazz - 06-03-2014, 07:16 AM
RE: The VG Resource Icon Renovation - by Dazz - 06-03-2014, 02:30 AM
RE: The VG Resource Icon Renovation - by Dazz - 06-03-2014, 07:15 AM
RE: The VG Resource Icon Renovation - by Dazz - 06-03-2014, 05:03 PM
RE: The VG Resource Icon Renovation - by Dazz - 06-04-2014, 04:14 PM
RE: The VG Resource Icon Renovation - by Petie - 06-05-2014, 03:56 PM
RE: The VG Resource Icon Renovation - by Dazz - 06-05-2014, 05:09 PM
RE: The VG Resource Icon Renovation - by puggsoy - 06-08-2014, 10:38 PM
RE: The VG Resource Icon Renovation - by Mystie - 06-09-2014, 10:44 AM
RE: The VG Resource Icon Renovation - by Dazz - 06-13-2014, 08:47 AM
RE: The VG Resource Icon Renovation - by puggsoy - 06-14-2014, 10:02 PM
RE: The VG Resource Icon Renovation - by Petie - 06-14-2014, 11:09 PM
RE: The VG Resource Icon Renovation - by Mystie - 06-18-2014, 05:38 PM
RE: The VG Resource Icon Renovation - by Mystie - 06-19-2014, 09:16 AM
RE: The VG Resource Icon Renovation - by Dazz - 06-19-2014, 01:23 AM
RE: The VG Resource Icon Renovation - by Dazz - 06-19-2014, 11:30 AM
RE: The VG Resource Icon Renovation - by Jeff - 06-19-2014, 06:35 PM
RE: The VG Resource Icon Renovation - by puggsoy - 06-20-2014, 09:05 PM
RE: The VG Resource Icon Renovation - by Jeff - 06-20-2014, 11:26 PM
RE: The VG Resource Icon Renovation - by Dazz - 06-21-2014, 09:00 AM
RE: The VG Resource Icon Renovation - by Jeff - 06-21-2014, 11:27 AM
RE: The VG Resource Icon Renovation - by Dazz - 06-22-2014, 05:04 AM
RE: The VG Resource Icon Renovation - by puggsoy - 06-22-2014, 05:37 AM
RE: The VG Resource Icon Renovation - by Dazz - 06-22-2014, 05:56 AM
RE: The VG Resource Icon Renovation - by puggsoy - 06-22-2014, 06:31 AM
RE: The VG Resource Icon Renovation - by Dazz - 06-22-2014, 07:10 AM
RE: The VG Resource Icon Renovation - by Shade - 07-02-2014, 04:36 PM
RE: The VG Resource Icon Renovation - by Petie - 07-02-2014, 04:53 PM
RE: The VG Resource Icon Renovation - by Mr. C - 07-02-2014, 06:26 PM

Forum Jump: