1995-1996
Spencer Kimball & Peter Mattis
Create a new channel.
This procedure creates a new channel with the specified width, height, name, opacity and color. The new channel still needs to be added to the image, as this is not automatic. Add the new channel with 'gimp-image-insert-channel'. Other attributes, such as channel visibility, should be set with explicit procedure calls. The channel's contents are undefined initially.
unknown
Type | Name | Description |
---|---|---|
PF_IMAGE | image | The image to which to add the channel |
PF_INT | width | The channel width (1 <= width <= 524288) |
PF_INT | height | The channel height (1 <= height <= 524288) |
PF_VALUE | name | The channel name |
PF_FLOAT | opacity | The channel opacity (0 <= opacity <= 100) |
PF_COLOUR | color | The channel compositing color |
Type | Name | Description |
---|---|---|
PF_CHANNEL | channel | The newly created channel |