You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains two Python scripts for converting images to WebP format. One script is for command-line usage, and the other provides a graphical user interface (GUI) for easier interaction.
4
+
5
+
## Files
6
+
7
+
1.`image_to_webp.py`: A command-line tool for converting images to WebP format.
8
+
2.`image_to_webp_gui.py`: A GUI tool for converting images to WebP format.
9
+
10
+
## Requirements
11
+
12
+
- Python 3.x
13
+
- Pillow library
14
+
- Tkinter library (for the GUI tool)
15
+
16
+
You can install the required libraries using pip:
17
+
18
+
```sh
19
+
pip install Pillow
20
+
```
21
+
22
+
Tkinter is included with standard Python installations. If you encounter issues, you may need to install it separately.
23
+
24
+
## Usage
25
+
26
+
### Command-Line Tool
27
+
28
+
The `image_to_webp.py` script allows you to convert images to WebP format using the command line.
29
+
30
+
#### Arguments
31
+
32
+
-`files`: Paths to the image files to convert.
33
+
-`save_directory`: Directory to save the converted WebP images.
34
+
-`quality`: Quality of the output WebP images (1-100).
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,7 @@ More information on contributing and the general code of conduct for discussion
83
83
| Image Watermarker |[Image Watermarker](https://github.com/DhanushNehru/Python-Scripts/tree/master/Image%20Watermarker)| Adds a watermark to an image. |
84
84
| Image to ASCII |[Image to ASCII](https://github.com/DhanushNehru/Python-Scripts/tree/master/Image%20to%20ASCII)| Converts an image into ASCII art. |
85
85
| Image to Gif |[Image to Gif](https://github.com/DhanushNehru/Python-Scripts/tree/master/Image%20to%20GIF)| Generate gif from images. |
86
+
| Images to WebP Converter |[Images to WebP Converter] (https://github.com/DhanushNehru/Python-Scripts/tree/master/Images%20to%20WebP%20Converter)|Converts images to WebP vie cmd or GUI |
86
87
| Interactive Dictionary |[Interactive Dictionary](https://github.com/DhanushNehru/Python-Scripts/tree/master/Image%20InteractiveDictionary)| finding out meanings of words |
87
88
| IP Geolocator |[IP Geolocator](https://github.com/DhanushNehru/Python-Scripts/tree/master/IP%20Geolocator)| Uses an IP address to geolocate a location on Earth. |
@@ -155,6 +156,7 @@ More information on contributing and the general code of conduct for discussion
155
156
| Youtube Downloader |[Youtube Downloader](https://github.com/DhanushNehru/Python-Scripts/tree/master/Youtube%20Downloader)| Downloads any video from [YouTube](https://youtube.com) in video or audio format! |
156
157
| Youtube Playlist Info Scraper |[Youtube Playlist Info Scraper](https://github.com/DhanushNehru/Python-Scripts/tree/master/Youtube%20Playlist%20Info%20Scraper)| This python module retrieve information about a YouTube playlist in json format using playlist link. |
157
158
159
+
158
160
## Gitpod
159
161
160
162
Use the cloud-free development environment where you can directly start coding.
0 commit comments