Skip to content

Commit d0b843c

Browse files
authored
Merge pull request #1 from Belgin-Android/main
Uploaded File's
2 parents a19cab1 + 29c154a commit d0b843c

File tree

8 files changed

+87
-2
lines changed

8 files changed

+87
-2
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+

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
1-
# Image_Filtering_Python
2-
This A Sample Programs For Image Filter Using Python
1+
# Image Filtering Using Python
2+
3+
### Feel Free To Add A Pull Request . To Add Additional Filter's You Might Know
4+
5+
### Installing
6+
7+
> Clone This Repo To Your PC
8+
9+
> pip install pillow
10+
11+
> Run The Python File's
12+
13+
14+
## Authors
15+
16+
* **Belgin Android** - *All Works* - [Belgin Android](https://github.com/Belgin-Android)
17+

0 commit comments

Comments
 (0)