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/thumbnailsdirectory needed to shrink to width=100 - But that images in my
img/photos/carouselneeded 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.
Metadata
Release files for image-shrinker 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| image_shrinker-0.1.0.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| image_shrinker-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.2 kB
Release files / image_shrinker-0.1.0.tar.gz
| Download URL | image_shrinker-0.1.0.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e3a9ca1936c9a4912d1f7b8c9270006fcf88aa32bb472d509adc989ae256163
|
|
BLAKE2b-256 checksum How to use checksums |
0a02b62addf2ad12f23e3bba32342fe26083170855f2ac76f6089ae88c538fca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Release files / image_shrinker-0.1.0-py3-none-any.whl
| Download URL | image_shrinker-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a3e6e50e2dfe45d3781e930abc0a45bdf6d064c39540b1e2d10c7afc586375d
|
|
BLAKE2b-256 checksum How to use checksums |
8ed1a4ae8cf8a363dbd37ab99e2ccf64917a2f4a34d6ae4629b691ec817128c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|