tushar-rishav / Pynail

:fork_and_knife: Creating thumbnails.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

:fork_and_knife: Creating thumbnails.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%