![]() |
#1 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
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 |
![]() |
![]() |
![]() |
#2 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 39,054
Karma: 153098470
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 |
![]() |
![]() |
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,856
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Added to the plugin index. Thanks!
|
![]() |
![]() |
![]() |
#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.
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
|
![]() |
![]() |
![]() |
#6 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 152
Karma: 474196
Join Date: Jan 2011
Location: Ottawa
Device: Kobo Aura H2O
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |