GNOME Bugzilla – Bug 307535
Merge C and script-fu Unsharp Masks
Last modified: 2005-06-17 11:04:09 UTC
GIMP has two built-in Unsharp Mask routines: one in C, one in Script-fu, both called "Unsharp Mask". The algorithms seem to be different, and they have different numbers of parameters. Sven wants them merged into one and asked in bug 116145 that I file a bug on this.
Is there really anything to merge here? I haven't looked at it in detail but I think we can just remove the Script-Fu version without loosing any functionality. Is that assumption not correct?
IMO the script can just be removed. If it is used by something, we should try to find values that achieve identical results with the C version. I tried it a few times and got pretty close, so the algorithms seem to be basically the same.
Probably the only advantage that the script version has is that it leaves you with a layer so that you can adjust the sharpness by changing it's opacity. But I don't think that this is of general usefulness.
I've removed the script from the menus. Perhaps it should be removed completely at some point... 2005-06-17 Sven Neumann <sven@gimp.org> * plug-ins/script-fu/scripts/unsharp-mask.scm: removed menu registration (bug #307535). Closing this report as WONTFIX because we didn't merge the two.