Skip to main content

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

Metadata

Release files for picutils 0.1.6.8.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for picutils 0.1.6.8.9
File Size Uploaded
picutils-0.1.6.8.9.tar.gz 9.3 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for picutils 0.1.6.8.9
File Interpreter ABI Platform
picutils-0.1.6.8.9-py2.7.egg Legacy Egg format - - Details
picutils-0.1.6.8.9-py2-none-any.whl Python 2 none any Details

Total release size: 43.5 kB

Release files / picutils-0.1.6.8.9.tar.gz

Download URL picutils-0.1.6.8.9.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
cc1d3293e62748cd38280ef51d35f456758c14bc6dbfd04f30a0655ea1e601a6
BLAKE2b-256 checksum
How to use checksums
e877c0842ca3c64bbe07a4f31ca193e442c18e3951b0f4b98ad3d348fc96d44a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / picutils-0.1.6.8.9-py2.7.egg

Download URL picutils-0.1.6.8.9-py2.7.egg
Size 21.3 kB
Tags Egg
SHA-256 checksum
How to use checksums
1526c07d6e09721a5e4de7f71015f1ea50f62d8ffce573621f6651f22f70b638
BLAKE2b-256 checksum
How to use checksums
0fc736c82b37f2a91ad1b788f9e35c08f5d92c3427149c2b1f07973ce7a275f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / picutils-0.1.6.8.9-py2-none-any.whl

Download URL picutils-0.1.6.8.9-py2-none-any.whl
Size 13.0 kB
Tags Python 2
SHA-256 checksum
How to use checksums
44c7f8576d82bed40171cca98eaa3a9024b3e717a60e467eab2ec42444c3afc3
BLAKE2b-256 checksum
How to use checksums
e9f2e2dbb8930e88b7465cf74589b18216c605bc14b2a8ddeaefaf4e0a2d34e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page