Skip to content

Latest commit

 

History

History

Simple_Image_resize

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Star Badge Open Source Love

Script Title

image resize

🛠️ Description

This script is designed to resize images in a specified directory using Python and the Pillow library. It iterates through all files in the directory, checks if they are images, and then resizes them according to a specified compression ratio. The resized images are saved in a different directory. it can be used for creating thumbnails or compressing image

⚙️ Languages or Frameworks Used

  1. Ensure you have Python 3.x installed on your system.
  2. Install the Pillow library using pip:

🌟 How to run

  1. Place your images in the source directory.

  2. Modify the compression_ratio variable in the script to adjust the size of the resized images. A value of 1 will keep the original size, values greater than 1 will enlarge the images, and values less than 1 will reduce the images.

  3. Run the script:

  4. The resized images will be saved in the resized directory.

🤖 Author

amar sree