Skip to content

Commit e6ff77f

Browse files
committed
update
1 parent d7ff573 commit e6ff77f

File tree

1,942 files changed

+149353
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,942 files changed

+149353
-0
lines changed
34.3 KB
Loading
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from PIL import Image, ImageFilter
2+
3+
path = input("Enter the path where the image is located:")
4+
5+
img = Image.open(path)
6+
7+
img = img.filter(ImageFilter.BoxBlur(8))
8+
9+
img.save("blurredimage.jpg")
10+
img.show()
6.54 KB
Loading
98.8 KB
Loading
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Clear Image To Blur using Python
2+
Using this script, a clear can be converted into a blurred image using the python PIL library.
3+
4+
### Requirements
5+
For this project, we require the PIL library. To install the PIL library use the below command.
6+
``` pip install pillow ```
7+
8+
### Methodology
9+
1. Import 'Image' and 'ImageFilter' from PIL library in python file.
10+
11+
2. Set the path of the image you want to blur.
12+
13+
3. 'Image' and 'ImageFilter' methods will open and convert the image into a blurred image.
14+
15+
4. The blurred image will be saved where this python script is located in the system.
16+
17+
### Input
18+
![plot](./input.png)
19+
20+
![plot](./photo.jpeg)
21+
22+
### Output
23+
![plot](./blurredimage.jpg)
24+
25+
=======
26+
27+
![built with love](https://forthebadge.com/images/badges/built-with-love.svg)
28+
29+
Check out my Github profile [divesh-giri!](https://github.com/divesh-giri)
7.07 KB
Loading
14.2 KB
Loading
9.66 KB
Loading
15 KB
Loading
14 KB
Loading

0 commit comments

Comments
 (0)