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_combine_masks Combine two channel masks.
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_drawable_mask_intersect Find the bounding box of the current selection in relation to the specified drawable.
gimp_image_add_layer_mask This procedure is deprecated! Use 'gimp_layer_add_mask' instead.
gimp_image_remove_layer_mask This procedure is deprecated! Use 'gimp_layer_remove_mask' instead.
gimp_layer_add_mask Add a layer mask to the specified layer.
gimp_layer_create_mask Create a layer mask for the specified specified layer.
gimp_layer_from_mask Get the specified mask's layer.
gimp_layer_get_apply_mask Get the apply mask of the specified layer.
gimp_layer_get_edit_mask Get the edit mask of the specified layer.
gimp_layer_get_mask Get the specified layer's mask if it exists.
gimp_layer_get_show_mask Get the show mask of the specified layer.
gimp_layer_mask This procedure is deprecated! Use 'gimp_layer_get_mask' instead.
gimp_layer_remove_mask Remove the specified layer mask from the layer.
gimp_layer_set_apply_mask Set the apply mask of the specified layer.
gimp_layer_set_edit_mask Set the edit mask of the specified layer.
gimp_layer_set_show_mask Set the show mask of the specified layer.
plug_in_unsharp_mask An unsharp mask filter

gimp_channel_combine_masks

Input:
CHANNELchannel1The channel1
CHANNELchannel2The channel2
INT32operationThe selection operation: { GIMP_CHANNEL_OP_ADD (0), GIMP_CHANNEL_OP_SUBTRACT (1), GIMP_CHANNEL_OP_REPLACE (2), GIMP_CHANNEL_OP_INTERSECT (3) }
INT32offxx offset between upper left corner of channels: (second - first)
INT32offyy offset between upper left corner of channels: (second - first)
Returns: nothing
This procedure combines two channel masks. The result is stored in the first channel.
Spencer Kimball & Peter Mattis; 1995-1996

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
SUCCESSradiusRadius of gaussian blur (in pixels > 1.0)
SUCCESSamountStrength of effect
SUCCESSthresholdThreshold
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


The Gimp 2.3.2 (win32)Documentation fresh from PDB22:53:15 Fr 22.07.2005
Generated by pdb2doc.py written by Hans Breuer <Hans@Breuer.org>