Cbz/cbr file converter
Helper utility for cbz/cbr files (comic books mostly) content scaling and converting to WebP format:
- source: any format recognized by 7-zip (zip, rar, tar, 7z = cbz, cbr, cbt, cb7 respectively),
- conversion to WebP format with libwebp (typically 2-3 times smaller image sizes),
- optional image resampling (percentage),
- output: zip (cbz) with no compression.
Depending on resampling used output files are at least 2.5 times smaller than source with subjectionably neglectable quality loss. When combining conversion to WebP with 50% resampling from 1920px output files are typically 10 times smaller than source.
Application is native and portable, settings are stored in local ini file, there are no dependencies on any runtime framework or non-standard dlls (except for those distributed along with it, i.e. 7z.dll).
Note: source files are immediately extracted to temporary subdirectories which allows browsing/editing content before converting. Make sure you have enough disk space to extract all queued files.
- Version 0.1, initial release.
- Version 0.2. Added picture width info column (currently for jpg files only, but that's vast majority of source files) - helpful when selecting picture scaling for output.
- Version 0.3:
- RMB menu: clear all converted, delete selected,
- aborting jobs on quit (previously: long wait time for finishing),
- deleting existing temp directory before unpacking,
- FIXED: file list flickering,
- settings: priority for worker processes.
- Version 0.4
- FIXED: image files with uppercase extension not included in file statistics,
- FIXED: files with read-only attribute inside archive were not deleted resulting in duplicate pages in output archive,
- settings: play sound when done.
- Version 0.5
- added default scaling for specified picture size(s) setting; new scaling list entries can be added with down arrow.
- Version 0.6
- Version 0.7
- FIXED: problem with saving conversion thread priority (going back to default after restart),
- FIXED: with source containing png images resizing was set by default to 0% resulting in no conversion.
- Version 0.7.1
- increased maximum allowed source file size to 2GB (this was intended to be safeguard for accidental dropping in of non-comic "big" archive, but apparently there are 700+ MB scans out there already).
- Version 0.8
- new resize mode, intended for converting archives with images with random/mixed sizes - resizing images to specified size only if they are bigger (either width or height) than specified,
- resize: added list with common resize percentages (50%, 33%) to choose without typing.
- Version 0.8.1
- three submodes for conditional resize: resizing is higher or wider, only if wider or only if higher.
- Version 0.9
- cwebp replaced with ImageMagick to allow more flexibility for input and output formats, in particular using CbxConverter only to resize and repack to cbz, keeping images in jpg format for platforms for which it may be hard to find reader with WebP support (iOS)
- added "Output extension" (by default defining compression method) to settings
- ImageMagick comes with most likely better resampling algorithms and overhelming list of options that may be even not possible to use at the moment, e.g. I don't know of comic book reader with support for FLIF
- if upgrading - add -quality 75 in settings as extra parameter to keep same compression level
- this version is not tested as much as 0.8.1 that emerged after several iterations with bugs fixed after reporting by users - if you need only WebP output you may prefer previous version or do not delete original files until checking content and compression level of files produced
- Version 0.10
- settings: added options to set custom temp and output directories
- settings: extra parameters for ImageMagick can be now split into ones placed before resize (new option) and ones placed after it (old setting)
- added "Delete source file(s)" to context menu
- added output file size and output/input ratio to list
Example conversion results, WebP output with -quality 70 parameter:
Currently application has 260 characters paths limitations. It's recommended to run application from location near to drive root if converted files have long names (application is creating temporary subdirectories with same names as file names and extracts file contents to them).
For WebP and CBR/CBZ in general I'd like to recommend SumatraPdf - great open source reader with WebP support (official since version 2.4): http://blog.kowalczyk.info/software/sumatrapdf/free-pdf-reader.html.
CbxConverter and Wine
CbxConverter 0.8.1 (using cwebp.exe) seems to work with Wine / Ubuntu 16. CbxConverter 0.9 and newer is using magick.exe and apparently there are some runtime dlls missing. I haven't tried copying them from windows - to get list of missing dlls run "wine magick.exe" from linux terminal.