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

http://iridescent.date/

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


Download files

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

Source Distribution

picutils-0.1.6.8.9.tar.gz (9.3 kB view details)

Uploaded Source

Built Distributions

picutils-0.1.6.8.9-py2.7.egg (21.3 kB view details)

Uploaded Source

picutils-0.1.6.8.9-py2-none-any.whl (13.0 kB view details)

Uploaded Python 2

File details

Details for the file picutils-0.1.6.8.9.tar.gz.

File metadata

File hashes

Hashes for picutils-0.1.6.8.9.tar.gz
Algorithm Hash digest
SHA256 cc1d3293e62748cd38280ef51d35f456758c14bc6dbfd04f30a0655ea1e601a6
MD5 451a9ae02f936245a9731ac40cb3d444
BLAKE2b-256 e877c0842ca3c64bbe07a4f31ca193e442c18e3951b0f4b98ad3d348fc96d44a

See more details on using hashes here.

File details

Details for the file picutils-0.1.6.8.9-py2.7.egg.

File metadata

File hashes

Hashes for picutils-0.1.6.8.9-py2.7.egg
Algorithm Hash digest
SHA256 1526c07d6e09721a5e4de7f71015f1ea50f62d8ffce573621f6651f22f70b638
MD5 424bd07d678c27a99108dc004891a866
BLAKE2b-256 0fc736c82b37f2a91ad1b788f9e35c08f5d92c3427149c2b1f07973ce7a275f4

See more details on using hashes here.

File details

Details for the file picutils-0.1.6.8.9-py2-none-any.whl.

File metadata

File hashes

Hashes for picutils-0.1.6.8.9-py2-none-any.whl
Algorithm Hash digest
SHA256 44c7f8576d82bed40171cca98eaa3a9024b3e717a60e467eab2ec42444c3afc3
MD5 171db433406a25dd8eb9e17ab51a6c4b
BLAKE2b-256 e9f2e2dbb8930e88b7465cf74589b18216c605bc14b2a8ddeaefaf4e0a2d34e5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page