View Single Post
Old 03-20-2025, 07:28 PM   #2
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by CavemanJoe View Post

I've had success using a combination of Polish Books (to subset fonts and compress images) and Bulk Image Resizer plugins, but Bulk Image Resizer can't be run on multiple books at once (it requires you to enter the ebook editor window and run on books one at a time), nor does it greyscale any images.

The process I've come up with is a far cry from the excellent one-click .cbz to .epub workflow, and I was initially thinking of writing a plugin that would automatically shrink all images to screen-appropriate sizes and colour depth, but quickly realised this would be a massive duplication of effort given that Calibre already has the ability to resize-and-greyscale all images when converting .cbz to .epub, but doesn't have the same behaviour when importing books in other formats.

Cheers!
The combination of Editor Chains and Action Chains can process images from multiple books in your library.

Editor chain as an action called "Run Command", which enables you to run a command like ImageMagick convert to process images inside ebooks. More on this in this post.

For more information, consult the documentation of both plugins.
capink is offline   Reply With Quote