Skip to content

Mwangea/Convert-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Image Converter to WebP

This project provides a simple Python script to convert images from various formats (JPG, PNG, BMP, TIFF) to the WebP format using the Pillow library.

Project Structure

convert.py
converted_webp/
images/
  • convert.py: The main script for converting images.
  • images/: Place your original images here.
  • converted_webp/: Converted .webp images will be saved here.

Requirements

Installation

  1. Clone or download this repository.

  2. Install Pillow if you haven't already:

    pip install Pillow

Usage

  1. Place the images you want to convert inside the images/ folder.

  2. Run the conversion script:

    python convert.py
  3. The converted .webp images will appear in the converted_webp/ folder.

Notes

  • Supported input formats: .jpg, .jpeg, .png, .bmp, .tiff
  • The script will skip files that do not match the supported extensions.

Feel free to modify the script or folder names as needed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages