Skip to content

Python script to automatically adjust images to a 9:16 aspect ratio.

Notifications You must be signed in to change notification settings

fabiobdalmeida/muda_imagem_9_16

Repository files navigation

Image Resizer 9:16

Python script to automatically adjust images to a 9:16 aspect ratio.

How to Use

  1. Install dependencies: pip install -r requirements.txt

Features

  • Automatically resizes images to 9:16 aspect ratio
  • Preserves image quality without distortion
  • Ideal for preparing content for platforms like TikTok, Instagram and others

Usage

  1. Place the images you want to resize in the input_images folder
  2. Run the script: python resize_images_9-16.py
  3. Resized images will be saved in the output_images folder

USING THE PIP Package###

pip install muda-imagem-9-16

muda-imagem input.jpg

🧹 Cleaning Input and Output Folders

To remove all files inside input_images and output_images while keeping the folders intact, run:

python clean_folders.py


## Contributing

Contributions are welcome! Please open an issue or submit a pull request.


## License? (No!) 

I’m committed to keeping this project open source and welcome contributions from anyone passionate about improving it!

About

Python script to automatically adjust images to a 9:16 aspect ratio.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages