r/comicrackusers • u/RayRayElite • Oct 22 '26
How-To/Support I built a ComicRack CE WebP optimizer to make room in my 2 TB+ comic collection
Hey everyone,
This started when I was downloading the WebP versions of the weekly comic bundles from GetComics. Seeing how much smaller they were than the JPEG versions made me look at my own collection, which has grown past 1 TB, and wonder how much space I could get back.
My comic drive is nearly full, so creating a second copy of the whole collection wasn't practical. I wanted something that could check the books I already have, convert eligible JPEG pages to WebP, validate the result and replace the original archive without keeping a permanent duplicate. I also wanted a copy option for people who prefer to keep their originals.
I already organize everything in ComicRack CE using public_fred's ComicRack Guru method, so integrating it into ComicRack felt like the obvious fit. That's how WebP Optimizer came about.
You select books in ComicRack and choose whether to analyze them, create WebP copies, replace originals or run a savings/quality comparison. It supports CBZ and CBR input, with CBR-to-CBZ as the usual output route. Replacement is designed to keep the existing ComicRack entry, metadata and reading progress. Temporary working space is still needed, even when you don't retain a backup.
The comparison mode tests Q60, Q70, Q75, Q80 and Q90 on up to three books, then lets you compare full-size pages in a native viewer. You can inspect matching RGB pixels and turn on an amplified difference heatmap for subtle changes; the readings measure pixel differences, not a percentage of quality retained. Q80 is the default, with dimensions unchanged. In testing, I've typically seen 40% to 65% reductions in file size with no visible loss to my eye. I've personally found Q75–Q80 difficult to distinguish from the originals on my monitor, but I'd encourage you to compare your own books. Savings and visible differences depend on the source material; already-WebP pages aren't recompressed.
There are also options for local temporary storage when working with a NAS, 1-12 concurrent page workers, stopping after the current book, reports, run history and recognizing completed work when continuing a batch. Unknown interrupted attempts are flagged for inspection.
My earlier NAS, CBR-to-CBZ and Komga/Komelia workflow checks went well. This doesn't mean I've finished converting the full collection or tested every setup. Start with disposable copies before running replacement on books you care about.
Code and instructions: https://github.com/RayRayElite/comicrack-webp-optimizer
The Windows 64-bit download includes the ImageMagick encoder. Python/Pillow and ComicRack CE are installed separately.
Downloads: https://github.com/RayRayElite/comicrack-webp-optimizer/releases
The plugin code is MIT licensed. I'd love feedback, bug reports and pull requests, especially from people with different collections, NAS setups and ComicRack workflows. Third-party components keep their own licenses.
Thanks goes to GetComics for the inspiration, maforget and the ComicRack CE contributors for keeping ComicRack going, and public_fred for the Guru method that shaped my workflow.





2
u/OkRequirement1427 Oct 22 '26
Thank you for contributing to the community. Much needed!
2
u/Juste667 Oct 22 '26
I'm getting an error that 7-zip is missing even after installing it twice. Any tips?
2
u/jakem742 Oct 23 '26
I can't run the conversion - I get an error "Could not find a part of the path 'C://.....xml....tmp". When I check the file path there's no .xml.tmp file with the same name in the Checkpoints folder.
2
u/brenticles42 Oct 23 '26
Awesome project. I had to start converting to webp once my collection got close to 2TB. I have my own workflow already but I’ll check this out.
As an aside, does anyone know why rip sizes keep growing? Some recent page widths were over 3500 and the files are just massive. Sometimes I run a python script to downsize to 1988 and I can’t tell a difference in quality.
2
u/JRT1379 Oct 23 '26
This sounds great, but it seems I need to devote the time to learn python and all that jazz before I can install/run it. Still, it will probably be worth it, as my 14T+ collection could use some optimization. If this could help me regain a couple Ts of space, I'm in.
Do the smaller files make it easier for ComicRack to handle them, or is that predicated more on the number of page in each file? I get processing lag on opening larger files (like an omnibus).
1
u/rmagere Oct 22 '26
How does it handle comics that were already changed into webp using the original comicrack function?
1
u/daelikon Oct 22 '26
I have been formatting all my comics to WebP 70 quality, resize if exceeds to 3000 pixels long side for 10 years now, I feel like you arrived a bit late to the party.
Edit: also, I do this from comicrack, no need for external tools either.
1
u/No_Championship_3690 Oct 22 '26
Many thanks. A few years ago, I was looking for a way to perform this conversion. I created a list of CBR files because I didn't know how to distinguish between JPEG and WebP files within them. I then tried doing the conversion manually, but I gave up after a few attempts.
1
u/OnyxPost Oct 22 '26 edited Oct 23 '26
A cool project. Something to consider in the future (as support for it increases over time) is a process to convert JPG images to JXL images since it can compress the file further with no quality loss, and JPGX allows for conversion back to JPG with no quality loss.
1
u/Saskaruto Oct 22 '26
I’ll check this out. I’m pretty sure all mine are in jpg. I’m working on updating the Star Wars data manager and library Organizer from comic guru’s guide. But this will be good to check out afterwards, as I’m over 2 TB’s of comics, not to mention my manga when I get to that as well.
1
u/Fearless-Address7621 Oct 29 '26
This is a good tool. How do you handle the “Illegal character in path.” error message?
1
u/almightykd 11d ago
u/RayRayElite just wanted to let you know that your webp optimizer is truly amazing a god send. I'm halfway through converting over 75k comics and have already saved close to 500GB. Installation seems daunting but it's actually very easy. It operates flawlessly, looks amazing and is feature packed for what it does. Outstanding work and thank you for sharing it.
1
u/Cozila 10d ago
First off let me say that I am absolutely loving this tool and it has done a tremendous job in helping me clean up my library size. I do want to ask, and maybe I'm missing it if the option is already there, but would it be possible to have an option to let the script place a tag on a comic one it has been converted? This would be extremely useful to have a smartlist to only see files that haven't had the script run against it. Also it could help with the time estimates if the script was able to ignore files that have the tag applied so they wouldn't be files it had to end up skipping.