Import Gimp color palette

I was playing around with Dany Lebel’s paint palette’s script and thought it would be nice if I could import and export these palettes to and from Gimp. So I wrote my first addon. Currently it can only import gimp palettes and it can only import the first 9 colors from that palette. I will add export functionality within the next few days or so.

Please keep in mind this is very alpha and my first attempt at writing an addon so it may be very buggy.

Link to Dany’s wiki entry:
http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/Paint/Palettes

Link to addon:
http://legendarypixel.org/node/14

NOTE: I found a bug. If you don’t have at least nine colors the script will fail. I will fix this soon.