Skip to content

This is a simple Python script that converts `.png`, `.jpg`, and `.jpeg` images to `.webp` format using the **Pillow** library.

Notifications You must be signed in to change notification settings

Munya-Marinda/python-image-to-webp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Image to WebP Converter

This is a simple Python script that converts .png, .jpg, and .jpeg images to .webp format using the Pillow library.

📌 Features

  • Converts images from PNG, JPG, and JPEG formats to WebP.
  • Maintains image quality with an adjustable compression setting.
  • Handles images with transparency by converting them to RGB.

🔧 Installation

Ensure you have Python installed, then install the required dependency:

pip install pillow

About

This is a simple Python script that converts `.png`, `.jpg`, and `.jpeg` images to `.webp` format using the **Pillow** library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages