Recursively compress all .jpg and .png images via tinyPNG API. All files in the folder and subfolders are processed. tinypng.py writes and tag to the image metadata (EXIF) so that it is compressed only once.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
moses.rivera@allnatura.de ba2f362147 moses.rivera. Convert txt in md. 1 year ago
.idea moses.rivera: First push. 1 year ago
venv moses.rivera: First push. 1 year ago
LICENSE.md moses.rivera. Convert txt in md. 1 year ago
README.md moses.rivera. Convert txt in md. 1 year ago
install.sh moses.rivera: Extending install.sh. 1 year ago
tinypng.py moses.rivera: Fixing arguments. Adding compression information. 1 year ago
tinypng.sh moses.rivera: First push. 1 year ago

README.md

Licensed under MIT license: @copyright © xtrose Media Studio 2019 @author Moses Rivera

             Im Wiesengrund 24
             73540 Heubach

@mail media.studio@xtrose.de

Description: Recursively compress all .jpg and .png images via tinyPNG API. All files in the folder and subfolders are processed. tinypng.py writes and tag to the image metadata (EXIF) so that it is compressed only once.

TinyPNG API Key is needed (500 Pictures free per month: https://tinypng.com/

WARNING: Original image is overwritten. Existing metadata (EXIF) will be lost.

Run script: $ python tinypng “PATH” “APIKEY”