Home

Awesome

Pynail

Creating thumbnails efficiently using Multiprocessing.

Demo

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