Skip to content

tushar-rishav/Pynail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

🍴 Creating thumbnails.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages