Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Latest commit

 

History

History
43 lines (26 loc) · 1.15 KB

README.md

File metadata and controls

43 lines (26 loc) · 1.15 KB

MassImgConv

This repository has been moved to codeberg

Mass image converter and resizer that uses Pillow and PyQt6 to make images suitable for telegram stickers.

Installation

  1. Clone this repo and cd into it with:
git clone https://github.com/EuroNutellaMan/MassImgConv.git && cd MassImgConv
  1. Install dependencies:
pip install -r requirements.txt
  1. Setup an alias to more easily run the program (optional):
alias massimgconv='python3 /path/to/MassImgConv/MassImgConv.py'

Usage

Run the program with the alias or with thee following code:

python3 /path/to/MassImgConv/MassImgConv.py

Select the image files you want to convert to png and/or resize.

You will be asked if you want to resize the image to a maximum size allowed by Telegram stickers (512x512).

You will be asked if you want to delete the original picture.

After the two prompts the program will convert the file extension from jpg, jpeg or webp to png, if you said yes it will also resize the image and/or delete the original file.

The new pictures will be saved in the same directory as the old one.