Skip to content

Commit

Permalink
Update image.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TeaCondemns committed May 12, 2023
1 parent 82d666a commit 6003f1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pygex/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 6003f1d

Please sign in to comment.