Gimp to CEGUI Imageset script!

Use this forum for:
- Discussion regarding unofficial CEGUI related tools, scripts and utilities.
- User to user help for the obsoleted CELayoutEditor and CEImagesetEditor tools.

Moderators: CEGUI MVP, CEGUI Team

lope85
Just popping in
Just popping in
Posts: 1
Joined: Wed Jun 18, 2008 18:26

Gimp to CEGUI Imageset script!

Postby lope85 » Wed Jun 18, 2008 18:44

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.

Image

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

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Wed Jun 18, 2008 19:15

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 :pint:

CE.

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

Postby Pompei2 » Sat Jun 21, 2008 10:13

VERY good thanks a lot, you're the men ;)

User avatar
jacmoe
Just can't stay away
Just can't stay away
Posts: 136
Joined: Sun Apr 03, 2005 14:18
Location: Holbaek, Denmark
Contact:

Postby jacmoe » Sat Nov 08, 2008 21:30

Awesome!
Looking forward to giving this a spin! :)

User avatar
emarcotte
Quite a regular
Quite a regular
Posts: 55
Joined: Fri Dec 26, 2008 14:30
Contact:

Re: Gimp to CEGUI Imageset script!

Postby emarcotte » Sun Oct 11, 2009 15:59

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.


Return to “Unofficial CEGUI-Related Tools”

Who is online

Users browsing this forum: No registered users and 2 guests