Skip to main content

Hosting pictures into html, website, python Flask and GUI, image manupilation

Project description

PyPI version

json2df is a library does batch processing pictures

github: https://github.com/shichaoji/picutils

  • If you would like to run a image hosting website, it is handy to process a large number of images

I have used the library processed almost 1 million photos for my other project face similarity searching & indexing, landmark detecting

installation

pip install pictutils

usage example

Batch reducing pics size to about 200kb each, if you have many HD pics saved in a folder, run the library will batch coverting pics in the folder to .jpg and then resizing all pics till 100-200 kb each.R

  • Run $ python -m picutils.process_pics , and then pass the images folder’s name, in the directory where that folder resides
Demo 1

Making index.html webbrowser file for a folder of pics for overall viewing, or hosting in a webpage

  • Run $ python -m picutils.html_index , and then pass the images folder’s name, in the directory where that folder resides
    • the program will make a sub-thumbnail folder, so even if image sizes in the folder are very large, the small view pics in the index html will load instantly, for the purpose of hosting picture website when visitors has slow internet
    • Thanks to myphotopack.com for those pretty pictures
Demo 2

Making a viewer.html webbrowser file for a folder of pics for single viewing, e.g. hosting a manga Website

  • Run $ python -m picutils.html_viewer , and then pass the images folder’s name, in the directory where that folder resides
    • click right side of the photo will view next, while clicking left side turns to previous photo
Demo 3

Project details


Release history Release notifications

This version
History Node

0.1.6.8.9

History Node

0.1.6.8.8

History Node

0.1.6.8.7

History Node

0.1.6.8.6

History Node

0.1.6.8.5

History Node

0.1.6.8.4

History Node

0.1.6.8.3

History Node

0.1.6.8.2

History Node

0.1.6.8.1

History Node

0.1.6.8

History Node

0.1.6.7

History Node

0.1.6.6

History Node

0.1.6.5

History Node

0.1.6.4

History Node

0.1.6.3

History Node

0.1.6.2

History Node

0.1.6.1

History Node

0.1.6

History Node

0.1.5

History Node

0.1.3

History Node

0.1.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
picutils-0.1.6.8.9-py2.7.egg (21.3 kB) Copy SHA256 hash SHA256 Egg 2.7 Jan 3, 2018
picutils-0.1.6.8.9-py2-none-any.whl (13.0 kB) Copy SHA256 hash SHA256 Wheel py2 Jan 3, 2018
picutils-0.1.6.8.9.tar.gz (9.3 kB) Copy SHA256 hash SHA256 Source None Jan 3, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page