Released: November 26, 2021
Current Version: "0.0.3"
This plugin uses the
jpegoptim command line utility to losslessly reduce the size of JPEG files.
Disclaimer: Since this plugin will replace the images in your ebook with optimized images, you might want to save your ePub or create a checkpoint
before running this plugin.
Credits
BeckyEbook created the plugin icon, and
KevinH provided the macOS binary.
System requirements
This plugin requires at least
Sigil 0.9.8. If you uncheck the
Use Bundled Python option, you'll also need to install Python 3.
Linux users will also need to install the
jpegoptim package (
Debian,
Arch).
Installation
1. Select Manage Plugins from the Plugins menu and enable the
Use Bundled Python option, if it isn't already enabled (or greyed out).
2. Click Add Plugin and select
JPEGOptimizer_v0.0.3.zip. This will install the plugin, which you can select via Plugins >
Edit > JPEGOptimizer.
Settings
To turn on lossy optimization, edit
JPEGOptimizer.json and change the quality value. For example:
To display the folder that contains
JPEGOptimizer.json select Edit > Preferences > Open Preferences Location. Then double-click
plugins_prefs and
JPEGOptimizer.
Windows users can also press
WIN+R, paste
%localappdata%\sigil-ebook\sigil\plugins_prefs\JPEGOptimizer into the Run dialog box and hit Enter.
License: GNU General Public License v3 (GPL-3)