Comic book CBZ/CBR files can be quite large when the scans are of a high DPI. CbxConverter is a tool created by Tomasz Ostrowski that can be used to reduce the filesize by resizing or changing the image format of the files inside the CBZ.
Download and install: Download the latest version from here and unzip it into a separate directory. There is a separate Unicode version available, but I did not have any problems using the regular version of the program.
Dependencies: This is a simple Windows GUI tool that uses 7Zip for dealing with the compression and ImageMagick for image manipulation. The dependent library files ship with the tool itself requiring no other installation.
Run on Linux: Though it is a Windows program, it can run under Wine easily. Just cd to its directory and invoke as:
$ wine CbxConverter.exe
Usage: Add the input files using File -> Add
Source Files. Choose all the added files, right-click and choose Resize
and pick from 25%, 33%, 50% and 66%. Click the Start conversion
at the bottom-left to start conversion. When it is done, the files can
be found in the out subdirectory inside the CbxConverter
directory.
Settings: Open Configuration -> Settings to change settings.
foobar.jpg.cbz or foobar.webp.cbz.Tried with: CbxConverter 0.14.0.0, Wine 6.0.3 and Ubuntu 22.04