Gimp to CEGUI Imageset script!
Posted: 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.
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
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