Hi everyone,
I'm wondering how you actually create an imageset. Painting in the Gimp, exporting and then manually setting all the coords and sizes seemed to complicated (*). Therefore I wrote a little Script-Fu Script for the Gimp to help me with the creation of imagesets.
This script uses the layer information (name, pos, size) to create the images in the .imageset. Offsets must be inserted manually later.
(*) Actually learning the SCHEME language and putting the script together in a lenghty trial-and-error-process wasn't that easy either.....
This script should run on any gimp 2.x installation (no perl or python required).
Please have a look and give me your feedback!
http://registry.gimp.org/node/6128
Gimp to CEGUI Imageset script!
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Wow! What a good idea I shall have a play with this tomorrow, I think.
With reference to your (*) point - yeah, but the good thing is that you only have to do that once (as opposed to manually creating an Imageset - every time). Once you have your script written it's all plain sailing from then on, so now put your feet up and have a
CE.
With reference to your (*) point - yeah, but the good thing is that you only have to do that once (as opposed to manually creating an Imageset - every time). Once you have your script written it's all plain sailing from then on, so now put your feet up and have a
CE.
Re: Gimp to CEGUI Imageset script!
Just writing to say this is an awesome script.
The only issue I had was that it seemed if I didn't have a trailing \ in the output path it didn't use the folder name but appended instead. Figured that out, and now all is well with the universe.
The only issue I had was that it seemed if I didn't have a trailing \ in the output path it didn't use the folder name but appended instead. Figured that out, and now all is well with the universe.
Return to “Unofficial CEGUI-Related Tools”
Who is online
Users browsing this forum: No registered users and 1 guest