Enums

Details

class Gimp.AddMaskType(value)

Bases: GObject.GEnum

Modes of initialising a layer mask.

WHITE = 0

White (full opacity)

BLACK = 1

Black (full transparency)

ALPHA = 2

Layer’s alpha channel

ALPHA_TRANSFER = 3

Transfer layer’s alpha channel

SELECTION = 4

Selection

COPY = 5

Grayscale copy of layer

CHANNEL = 6

Channel

class Gimp.ArgumentSync(value)

Bases: GLib.Enum

Methods of syncing procedure arguments.

New in version 3.0.

NONE = 0

Don’t sync this argument

PARASITE = 1

Sync this argument with an image parasite

class Gimp.BrushApplicationMode(value)

Bases: GObject.GEnum

Extracted from app/paint/paint-enums.h

HARD = 0

Gimp.BrushApplicationMode.HARD

SOFT = 1

Gimp.BrushApplicationMode.SOFT

class Gimp.BrushGeneratedShape(value)

Bases: GObject.GEnum

Shapes of generated brushes.

CIRCLE = 0

Circle

SQUARE = 1

Square

DIAMOND = 2

Diamond

class Gimp.CapStyle(value)

Bases: GObject.GEnum

Style of line endings.

BUTT = 0

Butt

ROUND = 1

Round

SQUARE = 2

Square

class Gimp.ChannelOps(value)

Bases: GObject.GEnum

Operations to combine channels and selections.

ADD = 0

Add to the current selection

SUBTRACT = 1

Subtract from the current selection

REPLACE = 2

Replace the current selection

INTERSECT = 3

Intersect with the current selection

class Gimp.ChannelType(value)

Bases: GObject.GEnum

Channels (as in color components).

RED = 0

Red

GREEN = 1

Green

BLUE = 2

Blue

GRAY = 3

Gray

INDEXED = 4

Indexed

ALPHA = 5

Alpha

class Gimp.CheckSize(value)

Bases: GObject.GEnum

Size of the checkerboard indicating transparency.

SMALL_CHECKS = 0

Small

MEDIUM_CHECKS = 1

Medium

LARGE_CHECKS = 2

Large

class Gimp.CheckType(value)

Bases: GObject.GEnum

Color/Brightness of the checkerboard indicating transparency.

LIGHT_CHECKS = 0

Light checks

GRAY_CHECKS = 1

Mid-tone checks

DARK_CHECKS = 2

Dark checks

WHITE_ONLY = 3

White only

GRAY_ONLY = 4

Gray only

BLACK_ONLY = 5

Black only

CUSTOM_CHECKS = 6

Custom checks

class Gimp.CloneType(value)

Bases: GObject.GEnum

Clone sources.

IMAGE = 0

Clone from an image/drawable source

PATTERN = 1

Clone from a pattern source

class Gimp.ColorManagementMode(value)

Bases: GObject.GEnum

Modes of color management.

OFF = 0

Color management is off

DISPLAY = 1

Color managed display

SOFTPROOF = 2

Soft-proofing

class Gimp.ColorRenderingIntent(value)

Bases: GObject.GEnum

Intents for color management.

PERCEPTUAL = 0

Perceptual

RELATIVE_COLORIMETRIC = 1

Relative colorimetric

SATURATION = 2

Saturation

ABSOLUTE_COLORIMETRIC = 3

Absolute colorimetric

class Gimp.ColorTag(value)

Bases: GObject.GEnum

Possible tag colors.

New in version 2.10.

NONE = 0

None

BLUE = 1

Blue

GREEN = 2

Green

YELLOW = 3

Yellow

ORANGE = 4

Orange

BROWN = 5

Brown

RED = 6

Red

VIOLET = 7

Violet

GRAY = 8

Gray

class Gimp.ColorTransformFlags(value)

Bases: GLib.Enum

Flags for modifying Gimp.ColorTransform's behavior.

NOOPTIMIZE = 256

optimize for accuracy rather than for speed

GAMUT_CHECK = 4096

mark out of gamut colors in the transform result

BLACK_POINT_COMPENSATION = 8192

do black point compensation

class Gimp.ComponentType(value)

Bases: GObject.GEnum

Encoding types of image components.

New in version 2.10.

U8 = 100

8-bit integer

U16 = 200

16-bit integer

U32 = 300

32-bit integer

HALF = 500

16-bit floating point

FLOAT = 600

32-bit floating point

DOUBLE = 700

64-bit floating point

class Gimp.ConfigError(value)

Bases: GLib.Enum

The possible values of a GLib.Error thrown by libgimpconfig.

OPEN = 0

open failed

OPEN_ENOENT = 1

file does not exist

WRITE = 2

write failed

PARSE = 3

parser error

VERSION = 4

parser failed due to version mismatch

class Gimp.ConfigPathType(value)

Bases: GLib.Enum

Types of config paths.

FILE = 0

A single file

FILE_LIST = 1

A list of files

DIR = 2

A single folder

DIR_LIST = 3

A list of folders

class Gimp.ConvertDitherType(value)

Bases: GObject.GEnum

Extracted from app/core/core-enums.h

NONE = 0

Gimp.ConvertDitherType.NONE

FS = 1

Gimp.ConvertDitherType.FS

FS_LOWBLEED = 2

Gimp.ConvertDitherType.FS_LOWBLEED

FIXED = 3

Gimp.ConvertDitherType.FIXED

class Gimp.ConvertPaletteType(value)

Bases: GObject.GEnum

Types of palettes for indexed conversion.

GENERATE = 0

Generate optimum palette

WEB = 1

Use web-optimized palette

MONO = 2

Use black and white (1-bit) palette

CUSTOM = 3

Use custom palette

class Gimp.ConvolveType(value)

Bases: GObject.GEnum

Types of convolutions.

BLUR = 0

Blur

SHARPEN = 1

Sharpen

class Gimp.CpuAccelFlags(value)

Bases: GLib.Enum

Types of detectable CPU accelerations

X86_MMX = -2147483648

MMX

NONE = 0

None

X86_3DNOW = 1073741824

3dNow

X86_SSE2 = 134217728

SSE2

X86_SSSE3 = 16777216

SSSE3

X86_AVX = 2097152

AVX

X86_SSE = 268435456

SSE

X86_SSE3 = 33554432

SSE3

X86_SSE4_2 = 4194304

SSE4_2

X86_MMXEXT = 536870912

MMXEXT

PPC_ALTIVEC = 67108864

Altivec

X86_SSE4_1 = 8388608

SSE4_1

class Gimp.DesaturateMode(value)

Bases: GObject.GEnum

Grayscale conversion methods.

LIGHTNESS = 0

Lightness (HSL)

LUMA = 1

Luma

AVERAGE = 2

Average (HSI Intensity)

LUMINANCE = 3

Luminance

VALUE = 4

Value (HSV)

class Gimp.DodgeBurnType(value)

Bases: GObject.GEnum

Methods for the dodge/burn operation.

DODGE = 0

Dodge

BURN = 1

Burn

class Gimp.ExportReturn(value)

Bases: GLib.Enum

Possible return values of [method`ExportOptions`.get_image].

IGNORE = 0

The image is unmodified but export shall continue anyway

EXPORT = 1

The chosen transforms were applied to a new image

class Gimp.FileChooserAction(value)

Bases: GObject.GEnum

A type of file to choose from when actions are expected to choose a file. This is basically a mapping to %GtkFileChooserAction except for [enum`Gimp`.FileChooserAction.ANY] which should not be used for any GUI functions since we can’t know what you are looking for.

ANY = -1

No restriction.

OPEN = 0

Opens an existing file.

SAVE = 1

Saves a file (over a new file or an existing one.

SELECT_FOLDER = 2

Picks an existing folder.

CREATE_FOLDER = 3

Picks an existing or new folder.

class Gimp.FillType(value)

Bases: GObject.GEnum

Types of filling.

FOREGROUND = 0

Foreground color

BACKGROUND = 1

Background color

CIELAB_MIDDLE_GRAY = 2

Middle Gray (CIELAB)

WHITE = 3

White

TRANSPARENT = 4

Transparency

PATTERN = 5

Pattern

class Gimp.ForegroundExtractMode(value)

Bases: GObject.GEnum

Foreground extract engines.

MATTING = 0

Matting

New in version 2.10.

class Gimp.GradientBlendColorSpace(value)

Bases: GObject.GEnum

Color space for blending gradients.

New in version 2.10.

RGB_PERCEPTUAL = 0

Perceptual RGB

RGB_LINEAR = 1

Linear RGB

CIE_LAB = 2

CIE Lab

class Gimp.GradientSegmentColor(value)

Bases: GObject.GEnum

Coloring types for gradient segments.

RGB = 0

RGB

HSV_CCW = 1

HSV (counter-clockwise hue)

HSV_CW = 2

HSV (clockwise hue)

class Gimp.GradientSegmentType(value)

Bases: GObject.GEnum

Transition functions for gradient segments.

LINEAR = 0

Linear

CURVED = 1

Curved

SINE = 2

Sinusoidal

SPHERE_INCREASING = 3

Spherical (increasing)

SPHERE_DECREASING = 4

Spherical (decreasing)

STEP = 5

Step

class Gimp.GradientType(value)

Bases: GObject.GEnum

Gradient shapes.

LINEAR = 0

Linear

BILINEAR = 1

Bi-linear

SPIRAL_ANTICLOCKWISE = 10

Spiral (counter-clockwise)

RADIAL = 2

Radial

SQUARE = 3

Square

CONICAL_SYMMETRIC = 4

Conical (symmetric)

CONICAL_ASYMMETRIC = 5

Conical (asymmetric)

SHAPEBURST_ANGULAR = 6

Shaped (angular)

SHAPEBURST_SPHERICAL = 7

Shaped (spherical)

SHAPEBURST_DIMPLED = 8

Shaped (dimpled)

SPIRAL_CLOCKWISE = 9

Spiral (clockwise)

class Gimp.GridStyle(value)

Bases: GObject.GEnum

Rendering types for the display grid.

DOTS = 0

Intersections (dots)

INTERSECTIONS = 1

Intersections (crosshairs)

ON_OFF_DASH = 2

Dashed

DOUBLE_DASH = 3

Double dashed

SOLID = 4

Solid

class Gimp.HistogramChannel(value)

Bases: GObject.GEnum

Extracted from app/core/core-enums.h

VALUE = 0

Gimp.HistogramChannel.VALUE

RED = 1

Gimp.HistogramChannel.RED

GREEN = 2

Gimp.HistogramChannel.GREEN

BLUE = 3

Gimp.HistogramChannel.BLUE

ALPHA = 4

Gimp.HistogramChannel.ALPHA

LUMINANCE = 5

Gimp.HistogramChannel.LUMINANCE

class Gimp.HueRange(value)

Bases: GObject.GEnum

Hue ranges.

ALL = 0

All hues

RED = 1

Red hues

YELLOW = 2

Yellow hues

GREEN = 3

Green hues

CYAN = 4

Cyan hues

BLUE = 5

Blue hues

MAGENTA = 6

Magenta hues

class Gimp.IconType(value)

Bases: GObject.GEnum

Icon types for plug-ins to register.

ICON_NAME = 0

Icon name

PIXBUF = 1

Inline pixbuf

IMAGE_FILE = 2

Image file

class Gimp.ImageBaseType(value)

Bases: GObject.GEnum

Image color models.

RGB = 0

RGB color

GRAY = 1

Grayscale

INDEXED = 2

Indexed color

class Gimp.ImageType(value)

Bases: GObject.GEnum

Possible drawable types.

RGB_IMAGE = 0

RGB

RGBA_IMAGE = 1

RGB-alpha

GRAY_IMAGE = 2

Grayscale

GRAYA_IMAGE = 3

Grayscale-alpha

INDEXED_IMAGE = 4

Indexed

INDEXEDA_IMAGE = 5

Indexed-alpha

class Gimp.InkBlobType(value)

Bases: GObject.GEnum

Ink tool tips.

CIRCLE = 0

Circle

SQUARE = 1

Square

DIAMOND = 2

Diamond

class Gimp.InterpolationType(value)

Bases: GObject.GEnum

Interpolation types.

NONE = 0

None

LINEAR = 1

Linear

CUBIC = 2

Cubic

NOHALO = 3

NoHalo

LOHALO = 4

LoHalo

class Gimp.JoinStyle(value)

Bases: GObject.GEnum

Line join styles.

MITER = 0

Miter

ROUND = 1

Round

BEVEL = 2

Bevel

class Gimp.LayerColorSpace(value)

Bases: GObject.GEnum

Extracted from app/operations/operations-enums.h

AUTO = 0

Gimp.LayerColorSpace.AUTO

RGB_LINEAR = 1

Gimp.LayerColorSpace.RGB_LINEAR

RGB_NON_LINEAR = 2

Gimp.LayerColorSpace.RGB_NON_LINEAR

LAB = 3

Gimp.LayerColorSpace.LAB

RGB_PERCEPTUAL = 4

Gimp.LayerColorSpace.RGB_PERCEPTUAL

class Gimp.LayerCompositeMode(value)

Bases: GObject.GEnum

Extracted from app/operations/operations-enums.h

AUTO = 0

Gimp.LayerCompositeMode.AUTO

UNION = 1

Gimp.LayerCompositeMode.UNION

CLIP_TO_BACKDROP = 2

Gimp.LayerCompositeMode.CLIP_TO_BACKDROP

CLIP_TO_LAYER = 3

Gimp.LayerCompositeMode.CLIP_TO_LAYER

INTERSECTION = 4

Gimp.LayerCompositeMode.INTERSECTION

class Gimp.LayerMode(value)

Bases: GObject.GEnum

Extracted from app/operations/operations-enums.h

NORMAL_LEGACY = 0

Gimp.LayerMode.NORMAL_LEGACY

DISSOLVE = 1

Gimp.LayerMode.DISSOLVE

LIGHTEN_ONLY_LEGACY = 10

Gimp.LayerMode.LIGHTEN_ONLY_LEGACY

HSV_HUE_LEGACY = 11

Gimp.LayerMode.HSV_HUE_LEGACY

HSV_SATURATION_LEGACY = 12

Gimp.LayerMode.HSV_SATURATION_LEGACY

HSL_COLOR_LEGACY = 13

Gimp.LayerMode.HSL_COLOR_LEGACY

HSV_VALUE_LEGACY = 14

Gimp.LayerMode.HSV_VALUE_LEGACY

DIVIDE_LEGACY = 15

Gimp.LayerMode.DIVIDE_LEGACY

DODGE_LEGACY = 16

Gimp.LayerMode.DODGE_LEGACY

BURN_LEGACY = 17

Gimp.LayerMode.BURN_LEGACY

HARDLIGHT_LEGACY = 18

Gimp.LayerMode.HARDLIGHT_LEGACY

SOFTLIGHT_LEGACY = 19

Gimp.LayerMode.SOFTLIGHT_LEGACY

BEHIND_LEGACY = 2

Gimp.LayerMode.BEHIND_LEGACY

GRAIN_EXTRACT_LEGACY = 20

Gimp.LayerMode.GRAIN_EXTRACT_LEGACY

GRAIN_MERGE_LEGACY = 21

Gimp.LayerMode.GRAIN_MERGE_LEGACY

COLOR_ERASE_LEGACY = 22

Gimp.LayerMode.COLOR_ERASE_LEGACY

OVERLAY = 23

Gimp.LayerMode.OVERLAY

LCH_HUE = 24

Gimp.LayerMode.LCH_HUE

LCH_CHROMA = 25

Gimp.LayerMode.LCH_CHROMA

LCH_COLOR = 26

Gimp.LayerMode.LCH_COLOR

LCH_LIGHTNESS = 27

Gimp.LayerMode.LCH_LIGHTNESS

NORMAL = 28

Gimp.LayerMode.NORMAL

BEHIND = 29

Gimp.LayerMode.BEHIND

MULTIPLY_LEGACY = 3

Gimp.LayerMode.MULTIPLY_LEGACY

MULTIPLY = 30

Gimp.LayerMode.MULTIPLY

SCREEN = 31

Gimp.LayerMode.SCREEN

DIFFERENCE = 32

Gimp.LayerMode.DIFFERENCE

ADDITION = 33

Gimp.LayerMode.ADDITION

SUBTRACT = 34

Gimp.LayerMode.SUBTRACT

DARKEN_ONLY = 35

Gimp.LayerMode.DARKEN_ONLY

LIGHTEN_ONLY = 36

Gimp.LayerMode.LIGHTEN_ONLY

HSV_HUE = 37

Gimp.LayerMode.HSV_HUE

HSV_SATURATION = 38

Gimp.LayerMode.HSV_SATURATION

HSL_COLOR = 39

Gimp.LayerMode.HSL_COLOR

SCREEN_LEGACY = 4

Gimp.LayerMode.SCREEN_LEGACY

HSV_VALUE = 40

Gimp.LayerMode.HSV_VALUE

DIVIDE = 41

Gimp.LayerMode.DIVIDE

DODGE = 42

Gimp.LayerMode.DODGE

BURN = 43

Gimp.LayerMode.BURN

HARDLIGHT = 44

Gimp.LayerMode.HARDLIGHT

SOFTLIGHT = 45

Gimp.LayerMode.SOFTLIGHT

GRAIN_EXTRACT = 46

Gimp.LayerMode.GRAIN_EXTRACT

GRAIN_MERGE = 47

Gimp.LayerMode.GRAIN_MERGE

VIVID_LIGHT = 48

Gimp.LayerMode.VIVID_LIGHT

PIN_LIGHT = 49

Gimp.LayerMode.PIN_LIGHT

OVERLAY_LEGACY = 5

Gimp.LayerMode.OVERLAY_LEGACY

LINEAR_LIGHT = 50

Gimp.LayerMode.LINEAR_LIGHT

HARD_MIX = 51

Gimp.LayerMode.HARD_MIX

EXCLUSION = 52

Gimp.LayerMode.EXCLUSION

LINEAR_BURN = 53

Gimp.LayerMode.LINEAR_BURN

LUMA_DARKEN_ONLY = 54

Gimp.LayerMode.LUMA_DARKEN_ONLY

LUMA_LIGHTEN_ONLY = 55

Gimp.LayerMode.LUMA_LIGHTEN_ONLY

LUMINANCE = 56

Gimp.LayerMode.LUMINANCE

COLOR_ERASE = 57

Gimp.LayerMode.COLOR_ERASE

ERASE = 58

Gimp.LayerMode.ERASE

MERGE = 59

Gimp.LayerMode.MERGE

DIFFERENCE_LEGACY = 6

Gimp.LayerMode.DIFFERENCE_LEGACY

SPLIT = 60

Gimp.LayerMode.SPLIT

PASS_THROUGH = 61

Gimp.LayerMode.PASS_THROUGH

REPLACE = 62

Gimp.LayerMode.REPLACE

ADDITION_LEGACY = 7

Gimp.LayerMode.ADDITION_LEGACY

SUBTRACT_LEGACY = 8

Gimp.LayerMode.SUBTRACT_LEGACY

DARKEN_ONLY_LEGACY = 9

Gimp.LayerMode.DARKEN_ONLY_LEGACY

class Gimp.MaskApplyMode(value)

Bases: GObject.GEnum

Layer mask apply modes.

APPLY = 0

Apply the mask

DISCARD = 1

Discard the mask

class Gimp.MergeType(value)

Bases: GObject.GEnum

Types of merging layers.

EXPAND_AS_NECESSARY = 0

Expanded as necessary

CLIP_TO_IMAGE = 1

Clipped to image

CLIP_TO_BOTTOM_LAYER = 2

Clipped to bottom layer

FLATTEN_IMAGE = 3

Flatten

class Gimp.MessageHandlerType(value)

Bases: GObject.GEnum

How to present messages.

MESSAGE_BOX = 0

A popup dialog

CONSOLE = 1

The terminal

ERROR_CONSOLE = 2

The error console dockable

class Gimp.MetadataColorspace(value)

Bases: GLib.Enum

Well-defined colorspace information available from metadata

UNSPECIFIED = 0

Unspecified

UNCALIBRATED = 1

Uncalibrated

SRGB = 2

sRGB

ADOBERGB = 3

Adobe RGB

class Gimp.ModuleError(value)

Bases: GLib.Enum

Types of errors returned by modules

MODULE_FAILED = 0

Generic error condition

class Gimp.ModuleState(value)

Bases: GLib.Enum

The possible states a Gimp.Module can be in.

ERROR = 0

Missing Gimp.Module.register() function or other error.

LOADED = 1

An instance of a type implemented by this module is allocated.

LOAD_FAILED = 2

Gimp.Module.register() returned False.

NOT_LOADED = 3

There are no instances allocated of types implemented by this module.

class Gimp.OffsetType(value)

Bases: GObject.GEnum

Background fill types for the offset operation.

COLOR = 0

Color

TRANSPARENT = 1

Transparent

WRAP_AROUND = 2

Wrap image around

class Gimp.OrientationType(value)

Bases: GObject.GEnum

Orientations for various purposes.

HORIZONTAL = 0

Horizontal

VERTICAL = 1

Vertical

UNKNOWN = 2

Unknown

class Gimp.PDBErrorHandler(value)

Bases: GObject.GEnum

PDB error handlers.

INTERNAL = 0

Internal

PLUGIN = 1

Plug-In

class Gimp.PDBProcType(value)

Bases: GObject.GEnum

Types of PDB procedures.

INTERNAL = 0

Internal GIMP procedure

PLUGIN = 1

GIMP Plug-In

PERSISTENT = 2

GIMP Persistent Plug-in

TEMPORARY = 3

Temporary Procedure

class Gimp.PDBStatusType(value)

Bases: GObject.GEnum

Return status of PDB calls.

EXECUTION_ERROR = 0

Execution error

CALLING_ERROR = 1

Calling error

PASS_THROUGH = 2

Pass through

SUCCESS = 3

Success

CANCEL = 4

User cancel

class Gimp.PaintApplicationMode(value)

Bases: GObject.GEnum

Paint application modes.

CONSTANT = 0

Constant

INCREMENTAL = 1

Incremental

class Gimp.PathStrokeType(value)

Bases: GObject.GEnum

Possible type of strokes in path objects.

BEZIER = 0

A bezier stroke

class Gimp.PixbufTransparency(value)

Bases: GLib.Enum

How to deal with transparency when creating thubnail pixbufs from images and drawables.

KEEP_ALPHA = 0

Create a pixbuf with alpha

SMALL_CHECKS = 1

Show transparency as small checks

LARGE_CHECKS = 2

Show transparency as large checks

class Gimp.Precision(value)

Bases: GObject.GEnum

Precisions for pixel encoding.

New in version 2.10.

U8_LINEAR = 100

8-bit linear integer

U8_NON_LINEAR = 150

8-bit non-linear integer

U8_PERCEPTUAL = 175

8-bit perceptual integer

U16_LINEAR = 200

16-bit linear integer

U16_NON_LINEAR = 250

16-bit non-linear integer

U16_PERCEPTUAL = 275

16-bit perceptual integer

U32_LINEAR = 300

32-bit linear integer

U32_NON_LINEAR = 350

32-bit non-linear integer

U32_PERCEPTUAL = 375

32-bit perceptual integer

HALF_LINEAR = 500

16-bit linear floating point

HALF_NON_LINEAR = 550

16-bit non-linear floating point

HALF_PERCEPTUAL = 575

16-bit perceptual floating point

FLOAT_LINEAR = 600

32-bit linear floating point

FLOAT_NON_LINEAR = 650

32-bit non-linear floating point

FLOAT_PERCEPTUAL = 675

32-bit perceptual floating point

DOUBLE_LINEAR = 700

64-bit linear floating point

DOUBLE_NON_LINEAR = 750

64-bit non-linear floating point

DOUBLE_PERCEPTUAL = 775

64-bit perceptual floating point

class Gimp.ProgressCommand(value)

Bases: GObject.GEnum

Commands for the progress API.

START = 0

Start a progress

END = 1

End the progress

SET_TEXT = 2

Set the text

SET_VALUE = 3

Set the percentage

PULSE = 4

Pulse the progress

GET_WINDOW = 5

Get the window where the progress is shown

class Gimp.RepeatMode(value)

Bases: GObject.GEnum

Repeat modes for example for gradients.

NONE = 0

None (extend)

TRUNCATE = 1

None (truncate)

SAWTOOTH = 2

Sawtooth wave

TRIANGULAR = 3

Triangular wave

class Gimp.RotationType(value)

Bases: GObject.GEnum

Types of simple rotations.

DEGREES90 = 0

90 degrees

DEGREES180 = 1

180 degrees

DEGREES270 = 2

270 degrees

class Gimp.RunMode(value)

Bases: GObject.GEnum

Run modes for plug-ins.

INTERACTIVE = 0

Run interactively

NONINTERACTIVE = 1

Run non-interactively

WITH_LAST_VALS = 2

Run with last used values

class Gimp.SelectCriterion(value)

Bases: GObject.GEnum

Criterions for color similarity.

COMPOSITE = 0

Composite

RGB_RED = 1

Red

ALPHA = 10

Alpha

RGB_GREEN = 2

Green

RGB_BLUE = 3

Blue

HSV_HUE = 4

HSV Hue

HSV_SATURATION = 5

HSV Saturation

HSV_VALUE = 6

HSV Value

LCH_LIGHTNESS = 7

LCh Lightness

LCH_CHROMA = 8

LCh Chroma

LCH_HUE = 9

LCh Hue

class Gimp.SizeType(value)

Bases: GObject.GEnum

Size types for the old-style text API.

PIXELS = 0

Pixels

POINTS = 1

Points

class Gimp.StackTraceMode(value)

Bases: GObject.GEnum

When to generate stack traces in case of an error.

NEVER = 0

Never

QUERY = 1

Ask each time

ALWAYS = 2

Always

class Gimp.StrokeMethod(value)

Bases: GObject.GEnum

Methods of stroking selections and paths.

LINE = 0

Stroke line

PAINT_METHOD = 1

Stroke with a paint tool

class Gimp.TextDirection(value)

Bases: GObject.GEnum

Text directions.

LTR = 0

From left to right

RTL = 1

From right to left

TTB_RTL = 2

Characters are from top to bottom, Lines are from right to left

TTB_RTL_UPRIGHT = 3

Upright characters are from top to bottom, Lines are from right to left

TTB_LTR = 4

Characters are from top to bottom, Lines are from left to right

TTB_LTR_UPRIGHT = 5

Upright characters are from top to bottom, Lines are from left to right

class Gimp.TextHintStyle(value)

Bases: GObject.GEnum

Text hint strengths.

NONE = 0

None

SLIGHT = 1

Slight

MEDIUM = 2

Medium

FULL = 3

Full

class Gimp.TextJustification(value)

Bases: GObject.GEnum

Text justifications.

LEFT = 0

Left justified

RIGHT = 1

Right justified

CENTER = 2

Centered

FILL = 3

Filled

class Gimp.TransferMode(value)

Bases: GObject.GEnum

For choosing which brightness ranges to transform.

SHADOWS = 0

Shadows

MIDTONES = 1

Midtones

HIGHLIGHTS = 2

Highlights

class Gimp.TransformDirection(value)

Bases: GObject.GEnum

Transform directions.

FORWARD = 0

Normal (Forward)

BACKWARD = 1

Corrective (Backward)

class Gimp.TransformResize(value)

Bases: GObject.GEnum

Ways of clipping the result when transforming drawables.

ADJUST = 0

Adjust

CLIP = 1

Clip

CROP = 2

Crop to result

CROP_WITH_ASPECT = 3

Crop with aspect

class Gimp.UnitID(value)

Bases: GLib.Enum

Integer IDs of built-in units used for dimensions in images. These IDs are meant to stay stable but user-created units IDs may change from one session to another.

PIXEL = 0

Pixels

INCH = 1

Inches

MM = 2

Millimeters

POINT = 3

Points

PICA = 4

Picas

END = 5

Marker for end-of-builtin-units

PERCENT = 65536

Pseudo-unit percent