O'Reilly logo

Programming Web Graphics with Perl and GNU Softwar by Shawn Wallace

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required