Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

A module of downloading image from URL and resizing.

Project description

pyimgdown is a python module for downloading image using url and resizing.


pip install pyimgdown


  • download image from url.
  • resize and attach thumbnail file suffix.
  • single url mode and file (url list file) mode.
  • specify download directory.



>>> import pyimgdown
>>> url = "https://localhost/test.jpeg"
    => {'image': './PyImgDown/test.jpeg'}


>>> import pyimgdown
    {'image': u'./PyImgDown/test1.jpg'},
    {'image': u'./PyImgDown/test2.jpg'},
    {'image': u'./PyImgDown/test3.jpg'},
    {'image': u'./PyImgDown/test4.jpg'},
    {'image': u'./PyImgDown/test5.jpg'},
    {'image': u'./PyImgDown/test6.jpg'},
    {'image': u'./PyImgDown/test7.jpg'},
    {'image': u'./PyImgDown/test8.jpg'},
    {'image': u'./PyImgDown/test9.jpg'},
    {'image': u'.PyImgDown/test10.jpg'}


>>>"https://localhost/test.jpeg", thumbnail_size=(64,64))
    'image': './PyImgDown/test.jpeg',
    'thumbnail': './PyImgDown/test_thumbnail.jpeg'

url+thumbnail+download directory

>>>"https://localhost/test.jpeg", thumbnail_size=(64,64), download_dir="./download")
    'image': './download/test.jpeg',
    'thumbnail': './download/test_thumbnail.jpeg'

url+thumbnail+download directory+thumbnail_file_suffix

>>>"https://localhost/test.jpeg", thumbnail_size=(64,64), download_dir="./download", thumbnail_file_suffix="_thumb")
    'image': './download/test.jpeg',
    'thumbnail': './download/test_thumb.jpeg'

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyimgdown, version 0.5.4
Filename, size File type Python version Upload date Hashes
Filename, size pyimgdown-0.5.4.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page