Skip to content

pdb: raise max blur radius of plug-in-gauss-rle

Anders Jonsson requested to merge ajonsson/gimp:gaussian-maxradius into master

The Perspective shadow plug-in can run into errors by calling plug-in-gauss-rle with 1024 blur radius, while that wrapper only allows 500 radius.

This raises the limit of radius of plug-in-gauss-rle to 1500. Thanks @cmyk.student for pointing me in the right direction.

Radius in plug-in-gauss-rle and std_dev_x in gegl:gaussian-blur (which already has max limit 1500) isn't exactly the same thing, but as the old text for the standard deviation was Standard deviation for the horizontal axis (multiply by ~2 to get radius), 1500 seems like a safe limit for radius as well. Also tested calling plug-in-gauss-rle with radius 1500 for good measure, and no problems.

Fixes #11140 (closed)

Merge request reports