Skip to main content

automatically optimize images

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 `` which already holds a couple of examples


As soon as the file



gets created, Imagy optimizes while the original stays at



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.0.1
Filename, size File type Python version Upload date Hashes
Filename, size imagy-0.0.1.tar.gz (13.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page