Skip to content

Commit

Permalink
Updated indents
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Mar 25, 2024
1 parent 9d101bf commit 2c6258b
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/PIL/ImageFilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,13 @@ class Kernel(BuiltinFilter):
Kernels can only be applied to "L" and "RGB" images.
:param size: Kernel size, given as (width, height).
This must be (3,3) or (5,5).
:param kernel: A sequence containing kernel weights. The kernel will
be flipped vertically before being applied to the image.
:param scale: Scale factor. If given, the result for each pixel is
divided by this value. The default is the sum of the
kernel weights.
:param offset: Offset. If given, this value is added to the result,
after it has been divided by the scale factor.
:param size: Kernel size, given as (width, height). This must be (3,3) or (5,5).
:param kernel: A sequence containing kernel weights. The kernel will be flipped
vertically before being applied to the image.
:param scale: Scale factor. If given, the result for each pixel is divided by this
value. The default is the sum of the kernel weights.
:param offset: Offset. If given, this value is added to the result, after it has
been divided by the scale factor.
"""

name = "Kernel"
Expand Down

0 comments on commit 2c6258b

Please sign in to comment.