Selection Procedures

Table C-5. Procedures for Creating Selection Regions

Name

Description

Arguments

gimp_by_color_select

Create a selection by selecting all pixels (in the specified drawable) with the same (or similar) color to that specified

image (Image)

The image

drawable (Drawable)

The drawable

color (Color)

The color to select

threshold (Integer)

Threshold in intensity levels in the range 0 to 255

operation (Integer)

The selection operation (SELECTION_ADD, SELECTION_SUB, SELECTION_REPLACE, SELECTION_INTERSECT)

antialias (Integer)

Anti-aliasing On/Off

feather (Integer)

Feather option for selections

feather_radius (Float)

Radius for feather operation

sample_merged (Integer)

Use the composite image, not the drawable

gimp_ellipse_select

Create an elliptical selection over the specified image

image (Image)

The image

x (Float)

X coordinate of upper left corner of ellipse bounding box

y (Float)

Y coordinate of upper left corner of ellipse bounding box

width (Float)

The width of the ellipse

height (Float)

The height of the ellipse

operation (Integer)

The selection operation (SELECTION_ADD, SELECTION_SUB, SELECTION_REPLACE, SELECTION_INTERSECT)

antialias (Integer)

Anti-aliasing On/Off

feather (Integer)

Feather option for selections

feather_radius (Float)

Radius for feather operation

gimp_floating_sel_anchor

Anchor the specified floating selection to its associated drawable

floating_sel (Layer)

The floating selection

gimp_floating_sel_remove

Remove the specified floating selection from ...

Get Programming Web Graphics with Perl and GNU Softwar now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.