hruskraj / Image-resizer-for-ESN-activities

This app resizes image to 1920x460, maintains aspect ratio and adds white background (meets specification of activities.esn.org)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image-resizer-for-ESN-activities

This app resizes image to 1920x460, maintains aspect ratio and adds white background (meets specification of activities.esn.org)

Why

To add activity to activities.esn.org a image of an exact size 1920x460 is needed. So this python application was created to change every image to this format.

Supported image formats

".bmp",".dib",".jpeg",".jpg",".png",".webp",".pbm",".pgm",".ppm",".pxm",".pnm",".tiff",".tif",".hdr",

Examples of running application

Example 1 Example 2 Example 3

Installation

sudo apt-get install python3-tk
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

About

This app resizes image to 1920x460, maintains aspect ratio and adds white background (meets specification of activities.esn.org)


Languages

Language:Python 100.0%