Hi-
To answer a few questions:
- I wrote the script, which performs similar to a photoshop plugin that someone was looking for in gimp. I don't use it often myself, except for some texture creation. The name "Flatting Tools" comes from what the process is referred to by colourists.
- "Flatten" is meant to remove the black lines leaving only the coloured areas, and as SG mentioned, it is either used directly if selected in the multifill script or is available to be called manually after.
- The script works for me when called on a layer with transparent areas. The script uses the stock select by colour with threshold to select the background area
- There was an infinite loop which could occur if the script was invoked if there is no or very little of the selected bg colour in the image (nothing to do with transparency). I've added an explicit check for no colour, and added a check to detect the infinate loop situation and abort, with a message to run multifill without flatting. (It is a limitation of the built in dilate math that causes the loop).
- I can't reproduce the error "Unable to run GimpPdbProgress callback. The corresponding plug-in may have crashed." What version of gimp is this with?
I've uploaded the fix for the infinate loop to the gimp-plugin registry
http://registry.gimp.org/node/14051 but it seems to have appended a _0 to the file, so if you replace yours, make sure the name is correct and the old one gets overwritten.
-Rob A>