summaryrefslogtreecommitdiffstats
path: root/pdb/groups/plug_in_compat.pdb
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 08:16:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 08:16:47 +0000
commit74f0d9eb037dc24bdfd1f0f325e483e380451d32 (patch)
treefaaaf44f426c20626c05034846c0b481c0e54983 /pdb/groups/plug_in_compat.pdb
parentAdding upstream version 2.10.36. (diff)
downloadgimp-upstream.tar.xz
gimp-upstream.zip
Adding upstream version 2.10.38.upstream/2.10.38upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'pdb/groups/plug_in_compat.pdb')
-rw-r--r--pdb/groups/plug_in_compat.pdb22
1 files changed, 13 insertions, 9 deletions
diff --git a/pdb/groups/plug_in_compat.pdb b/pdb/groups/plug_in_compat.pdb
index d156768..849d71c 100644
--- a/pdb/groups/plug_in_compat.pdb
+++ b/pdb/groups/plug_in_compat.pdb
@@ -1508,8 +1508,8 @@ HELP
desc => 'Input image (unused)' },
{ name => 'drawable', type => 'drawable',
desc => 'Input drawable' },
- { name => 'radius', type => '0.0 <= float <= 500.0',
- desc => 'Radius of gaussian blur (in pixels' },
+ { name => 'radius', type => '0.0 <= float <= 1500.0',
+ desc => 'Radius of gaussian blur (in pixels)' },
{ name => 'horizontal', type => 'boolean',
desc => 'Blur in horizontal direction' },
{ name => 'vertical', type => 'boolean',
@@ -1583,8 +1583,8 @@ HELP
desc => 'Input image (unused)' },
{ name => 'drawable', type => 'drawable',
desc => 'Input drawable' },
- { name => 'radius', type => '0.0 <= float <= 500.0',
- desc => 'Radius of gaussian blur (in pixels' },
+ { name => 'radius', type => '0.0 <= float <= 1500.0',
+ desc => 'Radius of gaussian blur (in pixels)' },
{ name => 'horizontal', type => 'boolean',
desc => 'Blur in horizontal direction' },
{ name => 'vertical', type => 'boolean',
@@ -3384,11 +3384,15 @@ HELP
GIMP_PDB_ITEM_CONTENT, error) &&
gimp_pdb_item_is_not_group (GIMP_ITEM (drawable), error))
{
- GeglNode *node;
- gint x, y, width, height;
+ GimpImage *image = gimp_item_get_image (GIMP_ITEM (drawable));
+ GeglNode *node;
+ gint x, y, width, height;
gimp_item_mask_intersect (GIMP_ITEM (drawable), &x, &y, &width, &height);
+ if (! gimp_channel_is_empty (gimp_image_get_mask (image)))
+ x = y = 0;
+
node = gegl_node_new_child (NULL,
"operation", "gegl:plasma",
"seed", seed,
@@ -4411,9 +4415,9 @@ HELP
desc => 'Input image (unused)' },
{ name => 'drawable', type => 'drawable',
desc => 'Input drawable' },
- { name => 'spread_amount_x', type => '0 <= float <= 200',
+ { name => 'spread_amount_x', type => '0 <= float <= 512',
desc => 'Horizontal spread amount' },
- { name => 'spread_amount_y', type => '0 <= float <= 200',
+ { name => 'spread_amount_y', type => '0 <= float <= 512',
desc => 'Vertical spread amount' }
);
@@ -4910,7 +4914,7 @@ HELP
desc => 'The Amplitude of the Waves' },
{ name => 'phase', type => '-360 <= float <= 360',
desc => 'The Phase of the Waves' },
- { name => 'wavelength', type => '0.1 <= float <= 50',
+ { name => 'wavelength', type => '0.1 <= float <= 100',
desc => 'The Wavelength of the Waves' },
{ name => 'type', type => 'boolean',
desc => 'Type of waves: { 0 = smeared, 1 = black }' },