Shrinks images. Use it before committing to git and/or using on a website
Project description
image-shrinker
Go directly to the DOCUMENTATION.
Description
Yup, you guessed right, it shrinks images. Use it before committing large image files into git and/or using large image files on a website.
image-shrinker was built to scratch my own itch. You might have the same itch.
- I needed a no-brainer command I could quickly run on the source files of my website(s).
- It would shrink large image files before I committed them to git ... and before I would deploy them on my website.
- It wouldn't require me to remember which directories need what kind of shrinking.
- For example, that images in my
img/thumbnails
directory needed to shrink to width=100 - But that images in my
img/photos/carousel
needed to shrink to height=300 so that they were all the same height on my home page's rotating photo carousel.
- For example, that images in my
- I wanted to run the command only once and have it handle multiple shrink cases.
- I wanted all my shrinking requirements specified in a file in my repository version-controlled and in sync with the rest of my source files.
Easy peasy(no, I hate that phrase)
image-shrinker happens to be written in Python, but you do not need to be a Python programmer to use it.
Documentation
For instructions on how to install and use image-shrinker, see image-shrinker.readthedocs.io.
Support
Try opening an issue HERE. No promises on any level of service. Best efforts only. The code is really simple. Any Python developer should be able to help you.
Contributing
Contributions will be considered.
Acknowledgment
Thanks to Pillow, the Python Image Library. It does all the hard work of shrinking images.
License
MIT Licensed. See LICENSE.
Project status
Actively but lightly maintained by Don Parakin.
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 Distribution
File details
Details for the file image_shrinker-0.1.0.tar.gz
.
File metadata
- Download URL: image_shrinker-0.1.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e3a9ca1936c9a4912d1f7b8c9270006fcf88aa32bb472d509adc989ae256163 |
|
MD5 | 410a9de21a22e769aa55a020ab2bff77 |
|
BLAKE2b-256 | 0a02b62addf2ad12f23e3bba32342fe26083170855f2ac76f6089ae88c538fca |
File details
Details for the file image_shrinker-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: image_shrinker-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a3e6e50e2dfe45d3781e930abc0a45bdf6d064c39540b1e2d10c7afc586375d |
|
MD5 | 3699db5ed356d90a75fc5e966137bfcc |
|
BLAKE2b-256 | 8ed1a4ae8cf8a363dbd37ab99e2ccf64917a2f4a34d6ae4629b691ec817128c2 |