Skip to main content

A command line tool to automatically handle image optimization

Project description

Imagy - make your website's images load upto 50% faster
===============

Imagy uses *lossless compression* on images, so your users never have to load unnecessary bytes. The algorithms used are lossless, so your images look the same, but load faster.

Instead of having to code up deamons, file watches and handle different file formats on your own, Imagy does all the work for you. Just point it at the folder(s) your images are stored in and it will automatically look for files that are created or changed and optimize them for size *without any visual impact*.

Getting Started
-----------------

::

pip install imagy

imagy /awesome/images/in/here/


That's it. Imagy's now running.


You can instead also specifiy the image paths directly in `config.py` which already holds a couple of examples


Example
-----------------

As soon as the file

::

images/img.jpg

gets created, Imagy optimizes while the original stays at

::

images/img-original.jpg


The algorithms used are stable (don't further modify files after multiple invocations), however by default Imagy keeps the original file. If you would not like to keep original images around set KEEP_ORIGINALS to False.

In the background Imagy uses the awesome library smush which exposes a general interface to handle the various file types.

If you wish to stop using Imagy, run

::

imagy -r

which will copy all original images back to their initial location

Project details


Download files

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

Files for imagy, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size imagy-0.1.0.tar.gz (14.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page