Rearranged classes into alphabetical order

This commit is contained in:
Andrew Murray 2018-01-30 20:13:51 +11:00
parent 5fd72be207
commit aa0ee9feab
2 changed files with 10 additions and 10 deletions

View File

@ -33,9 +33,9 @@ image enhancement filters:
* **EDGE_ENHANCE_MORE**
* **EMBOSS**
* **FIND_EDGES**
* **SHARPEN**
* **SMOOTH**
* **SMOOTH_MORE**
* **SHARPEN**
.. autoclass:: PIL.ImageFilter.GaussianBlur
.. autoclass:: PIL.ImageFilter.BoxBlur

View File

@ -270,6 +270,15 @@ class FIND_EDGES(BuiltinFilter):
)
class SHARPEN(BuiltinFilter):
name = "Sharpen"
filterargs = (3, 3), 16, 0, (
-2, -2, -2,
-2, 32, -2,
-2, -2, -2
)
class SMOOTH(BuiltinFilter):
name = "Smooth"
filterargs = (3, 3), 13, 0, (
@ -288,12 +297,3 @@ class SMOOTH_MORE(BuiltinFilter):
1, 5, 5, 5, 1,
1, 1, 1, 1, 1
)
class SHARPEN(BuiltinFilter):
name = "Sharpen"
filterargs = (3, 3), 16, 0, (
-2, -2, -2,
-2, 32, -2,
-2, -2, -2
)