Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.05 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.05 KB

Pynail

Creating thumbnails efficiently using Multiprocessing.

Pynail

##Installation

	python setup.py install

Usage

######For help

 pynail -h

######For creating thumbnail of single image

 pynail -i 'source_img_path' -t 'target_img_path' -s 'width,height' -f 'format'

######For creating thumbnail of all images in an entire directory

  pynail -c 'source_dir_path' -d 'target_dir_path' -s 'width,height' -f 'format'

Example

  pynail -c /home/tushar/ -d /home/tushar/ -s "300,300" -f "png"
  pynail -i /home/tushar/vector.png -t /home/tushar/tyo.png -s "300,300" -f "JPEG"

######Make sure to add valid file format in last parameter. Eg. JPEG is valid not JPG.

License

gpl