A desktop app written in Python, that exposes and unlocks the full power of Optimize Images in a nice graphical user interface, to help you reduce the file size of images.
Project description
Optimize Images X
A desktop app written in Python, that exposes and unlocks the full power of Optimize Images in a nice graphical user interface, to help you reduce the file size of images.
Optimize Images X and its CLI companion optimize-images
offer some useful
features that are not always present in a single package, like batch downsizing
of images within a folder (and recursively though its
subfolders) based on specified maximum width and/or height.
If you were just looking for the original (and slightly faster) command-line user interface (CLI) version of this application, it's a separate project: Optimize Images.
Installation and dependencies:
To install and run this application, you need to have a working Python 3.7+ installation. We try to keep the external dependencies at a minimum, in order to keep compatibility with different environments. At this moment, we require:
- optimize-images==1.5.0
- Pillow==8.2.0
- piexif==1.1.3
- watchdog==2.1.2
If you are able to swap Pillow with the faster version
Pillow-SIMD, you should be able
to get a considerably faster speed. For that reason, we provide, as a
friendly courtesy, an optional shell script (replace_pillow__macOS.sh
) to
replace Pillow with the faster Pillow-SIMD on macOS. Please notice, however,
that it usually requires a compilation step, and it was not throughly tested
by us, so your mileage may vary.
How to use
To start compressing images, just add one or more files, or a folder. The process starts as soon as the files are added to the list.
After launching the application for the first time, make sure all settings are configured as desired. The application's default settings are similar to the ones in Optimize Images. Whenever you change a setting it is applied immediately, and it's saved in the app's database, so that it will be can be used again the next time you run the app, without any need to go through all the settings.
In simple terms, always make sure you have configured Optimize Images X as you want it, but if you just want to use the same settings from last time, just add images.
Preferences
If you have used Optimize Images before, you probably already know what options are available. If not, please take a few minutes to take a look at the Preferences window and its tabs. You will find a description of each option on the original documentation for the command-line based Optimize Images.
General preferences
JPEG specific preferences
PNG specific preferences
More options
User interface options
You can choose the graphical user interface theme in the More…
tab of the
Settings Window. The list of available themes will vary depending on your
operating system, as well as Python and TK/tcl versions. Just click each one of
the radio buttons, and it will be appplied immediately as you click.
Restoring default settings
One important feature of Optimize Images X is its opinionated choice of default
app and task settings, which have been defined with the web in mind and are
probably just fine when you just want to apply some compression to the final
images to be deployed with you website. So, being able to restore them is also
possible. You will find the Reset all settings
button in the More…
tab of
the Settings Window.
Restoring default settings requires that the application is restarted, which is done automatically. So, before resetting, you should make sure you there are no more tasks pending or being processed.
Its worth noting that this process will also reset previous choices regarding confirmation dialog boxes, so they will be shown up again even if you had chosen not to see them.
DISCLAIMER:
Please note that the operation is done DESTRUCTIVELY, by replacing the
original files with the processed ones. You definitely should duplicate the
source file or folder before using this utility, in order to be able to
recover any eventual damaged files or any resulting images that don't have the
desired quality.
Did you find a bug or do you have a suggestion?
Please let me know, by opening a new issue, or a pull request.
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 optimize-images-x-0.9.2b0.tar.gz
.
File metadata
- Download URL: optimize-images-x-0.9.2b0.tar.gz
- Upload date:
- Size: 31.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f1dbef20dcdf602d29f5e549ea49ffae0f7a5eb6ce6bc761f64c732ca37762f |
|
MD5 | f9ba1ed154b589440d4ff951e59afe92 |
|
BLAKE2b-256 | 0ff9b7ba08d3c6272fb8ee8e37d1f53282e1d04fadc0b4885aa3b69d309f275f |
File details
Details for the file optimize_images_x-0.9.2b0-py3-none-any.whl
.
File metadata
- Download URL: optimize_images_x-0.9.2b0-py3-none-any.whl
- Upload date:
- Size: 34.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5119199469ceac48a96bd47754bf4ba52d5ff6088945ced236e455f5c9786e91 |
|
MD5 | 3e053670dc079aaca344ed0ad6cf6110 |
|
BLAKE2b-256 | 95e7771b3fed1646eaba531a77243d1b2bd6a816b5bb9e419b4e61ccc31452f6 |