10-28-2021, 11:27 AM | #1 |
Grand Sorcerer
Posts: 5,636
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
[Plugin] JPEGOptimizer - Lossless image optimization
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: Code:
"quality": 80, 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) Last edited by Doitsu; 11-26-2021 at 02:22 PM. Reason: Fixed codepage issue |
10-28-2021, 12:31 PM | #2 |
Bibliophagist
Posts: 39,814
Karma: 154147706
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I gave the plugin a quick try and it worked well. Very nice.
Last edited by DNSB; 10-28-2021 at 05:04 PM. Reason: Removed comment on release date in November |
Advert | |
|
10-28-2021, 03:37 PM | #3 |
Grand Sorcerer
Posts: 27,965
Karma: 198535232
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Added to the plugin index. Thanks!
|
12-05-2022, 05:06 PM | #4 |
Groupie
Posts: 152
Karma: 474196
Join Date: Jan 2011
Location: Ottawa
Device: Kobo Aura H2O
|
Hi, I'm really liking this plugin; it's part of my workflow now for all new ebooks. I don't suppose there's something like this that can handle bulk epub processing? I was thinking there may have been something similar as a Calibre plugin or standalone but I can't find anything like it.
|
12-06-2022, 01:19 AM | #5 |
Grand Sorcerer
Posts: 5,636
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
|
Advert | |
|
12-06-2022, 12:03 PM | #6 |
Groupie
Posts: 152
Karma: 474196
Join Date: Jan 2011
Location: Ottawa
Device: Kobo Aura H2O
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is it possible to add image file via plugin? | nirosan | Plugins | 7 | 05-25-2019 12:38 AM |
Strange behavior of image lossless compression since it has been "fixed" | Francois_C | Editor | 2 | 05-18-2018 03:23 AM |
Calibre plugin image resources | jackie_w | Development | 10 | 10-27-2015 02:01 PM |
Using image in plugin code | Jellby | Development | 7 | 03-11-2014 10:56 PM |
Image optimization for Kindle 2 | thelostemperor | Amazon Kindle | 10 | 03-13-2009 05:34 PM |