Skip to content

image resize module for python or image resize tool

Notifications You must be signed in to change notification settings

alisaracoglu/Image-Resize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Image Resize

Image resize module for python / Image resize tool. This module has a function called "resize". See the description of the function about use.

ABOUT FUNCTION

Definition
resize(image_path, output_width='', output_height='', output_path='')
Parameters or Arguments
  • 'image_path' -> (required) Input image path. This value can be absolute path or relative path.
  • 'output_width' -> (optional) Intended width of resized image.
  • 'output_height'-> (optional) Intended height of resized image.
  • 'output_path' -> (optional) Directory of new resized image. New image send to this directory.
Warning
  • Also at least one of the 'output_width' or 'output_height' data must be entered. If only one is entered, the other will be changed at the same rate.
  • The 'Output Path' value can be either the absolute file path or the directory path or empty. If left empty, output to the same directory with Input Image.

Usage as Tool

The 4 parameters of the function are asked respectively. At the end, resize function is invoked according to the information given. If "q" value is given for any input, the tool closes.

About

image resize module for python or image resize tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages