Skip to content

JetsadaWijit-Project/venv-convert-reduce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Information

This repository is created to convert webp to png and then reduce the file size to under 2MB (for use as profile pictures, thumbnails, etc.).

Tools

Language

  • Python

Dependencies

  • Pillow

Setup

Activate Virtual Environment

Windows:

python -m venv venv
venv\Scripts\activate

Linux/macOS:

python3 -m venv venv
source venv/bin/activate

Install Dependencies

pip install pillow

Usage

python con_webp_to_png.py
python reduce_under_2MB.py

Important

Before we start the project, we need to prepare the data in data/raw/{name}.webp.

You can place all images there and then begin the process.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages