Index of /shrinkpix

shrinkpix — shrink images for faster (and politer) online viewing

For an online alternative to this file, visit:
    http://learning-python.com/shrinkpix.html

This program reduces the filesize of images.  It does this by first 
saving the original image, and then applying transformations until 
either the desired size is met, or no more transformations remain.  

Although this program may serve a variety of purposes, it is primarily 
intended for reducing the filesize of a website's images posted online. 
In this role, the smaller images it creates can be viewed quicker, and 
are friendlier to users with limited or metered bandwidth.  

This program runs locally on your computer from a console, IDE, or script;
can be used to shrink both individual images and all the images in a folder
tree; and comes with utilities to restore and collect the original unshrunk
images backed up by the main script.  Its shrinking techniques are still 
somewhat experimental as shipped, but you may find its code useful for 
your own goals, and its current results adequate for your own sites.

This system consists of three Python 3.X source-code scripts: 

shrinkpix.py
    The main script: shrink images, save originals

restore-unshrunk-images.py 
    Utility: restore original images saved by the shrinker

collect-unshrunk-images.py
    Utility: collect original images saved by the shrinker

For all shrinkpix documentation, see the top-of-file docstring in 
the main shrinker script.  For all demos and screenshots, see the 
examples/ folder here.  To download the entire shrinkpix package,
including code and examples, fetch its zip file at:

    https://learning-python.com/shrinkpix/shrinkpix-full-package.zip

For examples of shrinkpix's results, see most of the images on its home 
website, learning-python.com, including those in the galleries listed at:

    https://learning-python.com/thumbspage.html#demos.

Related: for a program that generates image galleries that may benefit
from shrinkpix resizing when viewed online, see the thumbspage 
program, including its usage note on image-size issues:

    https://learning-python.com/thumbspage.html
    https://learning-python.com/thumbspage/UserGuide.html#imagesizeandspeed

For more programs from the makers of shrinkpix, visit:

    https://learning-python.com/programs.html