Skip to content

Commit 1b73dac

Browse files
committed
Files Updated
1 parent a19cab1 commit 1b73dac

File tree

7 files changed

+70
-0
lines changed

7 files changed

+70
-0
lines changed

Blur_An_Image.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Blur An Image
2+
from PIL import Image, ImageFilter
3+
4+
# creating a image object
5+
orginal = Image.open(r"C:\Users\Belgin\Desktop\github.png")
6+
7+
# Bluring The Image
8+
blured_Image = orginal.filter(ImageFilter.BLUR)
9+
10+
blured_Image.show()

Box_Blur_An_Image.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Box Blur An Image
2+
from PIL import Image, ImageFilter
3+
4+
# creating a image object
5+
orginal = Image.open(r"C:\Users\Belgin\Desktop\github.png")
6+
7+
# Box Blur An Image
8+
Box_Blur = orginal.filter(ImageFilter.BoxBlur(8))
9+
# 8 is the radius the size of the box in one direction
10+
11+
Box_Blur.show()

Contour_An_Image.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Contour An Image
2+
from PIL import Image, ImageFilter
3+
4+
# creating a image object
5+
orginal = Image.open(r"C:\Users\Belgin\Desktop\github.png")
6+
7+
# Contour The Image
8+
Contour = orginal.filter(ImageFilter.CONTOUR)
9+
10+
Contour.show()

Edge_Enhance_An_Image.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Edge Enhance An Image
2+
from PIL import Image, ImageFilter
3+
4+
# creating a image object
5+
orginal = Image.open(r"C:\Users\Belgin\Desktop\github.png")
6+
7+
# Emboss The Image
8+
Edge_enhance = orginal.filter(ImageFilter.EDGE_ENHANCE)
9+
10+
Edge_enhance.show()

Emboss_An_Image.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# EMBOSS An Image
2+
from PIL import Image, ImageFilter
3+
4+
# creating a image object
5+
orginal = Image.open(r"C:\Users\Belgin\Desktop\github.png")
6+
7+
# Emboss The Image
8+
Emboss = orginal.filter(ImageFilter.EMBOSS)
9+
10+
Emboss.show()

Gaussian_Blur_An_Image.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Gaussian Blur An Image
2+
from PIL import Image, ImageFilter
3+
4+
# creating a image object
5+
orginal = Image.open(r"C:\Users\Belgin\Desktop\github.png")
6+
7+
# Gaussian Blur An Image
8+
Blur = orginal.filter(ImageFilter.GaussianBlur(radius = 5))
9+
10+
Blur.show()
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Brightness Enhancing
2+
from PIL import Image, ImageEnhance
3+
4+
# creating a image object
5+
orginal = Image.open(r"C:\Users\Belgin\Desktop\github.png")
6+
7+
bightness = ImageEnhance.Brightness(orginal)
8+
brightness.enhance(2.0).show()
9+

0 commit comments

Comments
 (0)