Re: [Gimp-developer] Apply palette to image colormap

2005-06-02 Thread Alan Horkan
And... it is buggy. It failed me when applying 256 color palette to a 256 colro image with the message: --- Error while executing (tiny-fu-set-cmap 6 12 Gold) Error: car: argument 1 must be: pair -- Not to mention: WARNING: Plug-In tiny-fu (/usr/local/lib/gimp/2.0/plug-ins/tiny-fu)

Re: [Gimp-developer] Apply palette to image colormap

2005-06-02 Thread Kevin Cozens
Alan Horkan wrote: It should call 'gimp_image_set_colormap' instead! Normally I'd be in favour of expanding abbreviations to make things clearer but in this case the shorter deprecated name avoids the confusion caused by the American mispelling of Colour (damned Webster and his patriotic

Re: [Gimp-developer] Apply palette to image colormap

2005-06-02 Thread Sven Neumann
Hi, Kevin Cozens [EMAIL PROTECTED] writes: Being one of those people who includes the 'u' makes me think I'm better off leaving my script functions using cmap instead of colormap/colourmap. I think you should stick as closely to the GIMP API as possible and use colormap instead of an

Re: [Gimp-developer] Apply palette to image colormap

2005-06-01 Thread Sven Neumann
Hi, Kevin Cozens [EMAIL PROTECTED] writes: It seems this fucntionality exists in other programs but not in the GIMP - i.e.: the ability to apply a palette to an already indexed image, keeping the color numbers. This is easily doable in script, but it could also be done in the core One

Re: [Gimp-developer] Apply palette to image colormap

2005-06-01 Thread Joao S. O. Bueno Calligaris
On Wednesday 01 June 2005 00:03, Kevin Cozens wrote: Joao S. O. Bueno Calligaris wrote: It seems this fucntionality exists in other programs but not in the GIMP - i.e.: the ability to apply a palette to an already indexed image, keeping the color numbers. This is easily doable in script,

Re: [Gimp-developer] Apply palette to image colormap

2005-06-01 Thread Kevin Cozens
Joao S. O. Bueno Calligaris wrote: Anyway - the person needing this right now is on win32 - Will this script work in script-fu? It should work but you will need to change the filename to end in .scm and change all occurances of 'tiny-fu' in the script to 'script-fu' (preserving case). You