diff --git a/pygex/image.py b/pygex/image.py index 791432b..5050a3b 100644 --- a/pygex/image.py +++ b/pygex/image.py @@ -22,9 +22,9 @@ def pygame_to_pillow(source_surface: SurfaceType): return PillowImage.frombytes('RGBA', source_surface.get_size(), pg_image_tostring(source_surface, 'RGBA')) - def gaussian_blur(source_surface: SurfaceType, radius: int): + def fast_gaussian_blur(source_surface: SurfaceType, radius: int): """ - Gaussian blur + Fast gaussian blur [faster than `pygame-ce`.transform.gaussian_blur(...)] :param source_surface: source Surface :param radius: blur radius """ @@ -87,7 +87,7 @@ def gradient(size: Sequence[int], colors: Sequence[TYPE_COLOR], is_vertical=Fals 'AlphaSurface', 'pillow_to_pygame', 'pygame_to_pillow', - 'gaussian_blur', + 'fast_gaussian_blur', 'cutout_by_mask', 'round_corners', 'gradient'