See also: Main Index; Alphabetic; Misc; By Author; By Module; By Menu    External Links: The Gimp; Gimp User Manual

The Gimp mask functions

gimp_channel_get_show_masked Get the composite method of the specified channel.
gimp_channel_set_show_masked Set the composite method of the specified channel.
gimp_drawable_is_layer_mask Returns whether the drawable is a layer mask.
gimp_drawable_mask_bounds Find the bounding box of the current selection in relation to the specified drawable.
gimp_image_add_layer_mask Add a layer mask to the specified layer.
gimp_image_remove_layer_mask Remove the specified layer mask from the layer.
gimp_layer_create_mask Create a layer mask for the specified specified layer.
gimp_layer_get_apply_mask Get the apply mask setting of the specified layer.
gimp_layer_get_edit_mask Get the show mask setting of the specified layer.
gimp_layer_get_show_mask Get the show mask setting of the specified layer.
gimp_layer_mask Get the specified layer's mask if it exists.
gimp_layer_set_apply_mask Set the apply mask setting of the specified layer.
gimp_layer_set_edit_mask Set the show mask setting of the specified layer.
gimp_layer_set_show_mask Set the show mask setting of the specified layer.
plug_in_unsharp_mask An unsharp mask filter
script_fu_unsharp_mask <Image>/Script-Fu/Alchemy/Unsharp Mask...

gimp_channel_get_show_masked

Input:
CHANNELchannelThe channel
Returns:
INT32show_maskedThe channel composite method
This procedure returns the specified channel's composite method. If it is non-zero, then the channel is composited with the image so that masked regions are shown. Otherwise, selected regions are shown.
Spencer Kimball & Peter Mattis; 1995-1996

gimp_channel_set_show_masked

Input:
CHANNELchannelThe channel
INT32show_maskedThe new channel composite method
Returns: nothing
This procedure sets the specified channel's composite method. If it is non-zero, then the channel is composited with the image so that masked regions are shown. Otherwise, selected regions are shown.
Spencer Kimball & Peter Mattis; 1995-1996

plug_in_unsharp_mask

Input:
INT32run_modeInteractive, non-interactive
IMAGEimage(unused)
DRAWABLEdrawableDrawable to draw on
FLOATradiusRadius of gaussian blur (in pixels > 1.0)
FLOATamountStrength of effect
FLOATthresholdThreshold
Returns: nothing
The unsharp mask is a sharpening filter that works by comparing using the difference of the image and a blurred version of the image. It is commonly used on photographic images, and is provides a much more pleasing result than the standard sharpen filter.
Winston Chang; 1999

script_fu_unsharp_mask

Input:
INT32run_modeInteractive, non-interactive
IMAGEimageImage
DRAWABLEdrawableDrawable to apply
STRINGvalueMask Size
STRINGvalueMask Opacity
Returns: nothing
Make a sharp image of IMAGE's DRAWABLE by applying unsharp mask method
Shuji Narazaki; 1997,1998


The Gimp 1.2.5 (win32)Documentation fresh from PDB12:10:11 Do 19.06.03
Generated by pdb2doc.py written by Hans Breuer <Hans(at)Breuer.org>