pyBegin / projects / image-manipulation
🖼️

Image Manipulation

A small Pillow script that opens a local image (mars.jpg), resizes it to 200x200 pixels, and saves the result as newImage.jpg.

11 lines🖥 Desktop only

Image Manipulation

A small Pillow script that opens a local image (mars.jpg), resizes it to 200x200 pixels, and saves the result as newImage.jpg.

Example

  1. Place mars.jpg in the project directory.
  2. Run python resizingImage.py.
  3. The script opens mars.jpg, resizes it to 200x200 pixels, and saves the result as newImage.jpg in the same directory.

How to run on localhost

pip install pillow
python resizingImage.py

Dependencies