Hosting pictures into html, website, python Flask and GUI, image manupilation
Project description
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
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
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file picutils-0.1.6.8.9.tar.gz
.
File metadata
- Download URL: picutils-0.1.6.8.9.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc1d3293e62748cd38280ef51d35f456758c14bc6dbfd04f30a0655ea1e601a6 |
|
MD5 | 451a9ae02f936245a9731ac40cb3d444 |
|
BLAKE2b-256 | e877c0842ca3c64bbe07a4f31ca193e442c18e3951b0f4b98ad3d348fc96d44a |
File details
Details for the file picutils-0.1.6.8.9-py2.7.egg
.
File metadata
- Download URL: picutils-0.1.6.8.9-py2.7.egg
- Upload date:
- Size: 21.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1526c07d6e09721a5e4de7f71015f1ea50f62d8ffce573621f6651f22f70b638 |
|
MD5 | 424bd07d678c27a99108dc004891a866 |
|
BLAKE2b-256 | 0fc736c82b37f2a91ad1b788f9e35c08f5d92c3427149c2b1f07973ce7a275f4 |
File details
Details for the file picutils-0.1.6.8.9-py2-none-any.whl
.
File metadata
- Download URL: picutils-0.1.6.8.9-py2-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44c7f8576d82bed40171cca98eaa3a9024b3e717a60e467eab2ec42444c3afc3 |
|
MD5 | 171db433406a25dd8eb9e17ab51a6c4b |
|
BLAKE2b-256 | e9f2e2dbb8930e88b7465cf74589b18216c605bc14b2a8ddeaefaf4e0a2d34e5 |