2024-08-28 23:39:20 +02:00
2024-03-01 16:00:16 +01:00
2024-08-28 23:33:52 +02:00
2024-03-01 16:00:16 +01:00
2024-03-01 16:03:02 +01:00
2024-03-01 16:05:06 +01:00
2024-03-01 16:05:06 +01:00
2024-03-01 16:05:06 +01:00
2024-03-01 16:05:06 +01:00
2024-08-28 23:39:20 +02:00
2024-08-28 23:39:20 +02:00

#comic-img-compress

# About A simple command line interface to change .cbr and .cbz comic files with png or jpeg images to webp, improving compression markedly The tool is able to convert also single jpg or png images to webp

Setup

This project uses libwebp-net, in order to use download the libwebp.dll from here and add to the project root

Running

Run dotnet run -- [args]
dotnet run -- --help for help

  -i|--input <FOLDER/FIlE>  The file or folder to convert
  -o|--output <FOLDER>      Base path of the output (will be in output/subfolders if the recursive option is enabled), default: converted_comics
  -r|--recursive            Recursively traverse the input folder (include all subfolders)
  -s|--skip                 Skip processing file if it already exists in the output folder
  -q|--quality              Quality to use for the webp files (default: 75)
  -p|--parallel             Run in parallel, utilizing all computing resources
  -c|--cpu                  Run in parallel, utilizing all computing resources
  -d|--pdf                  Process PDF
  -n|--prn                  Process Zebra PRN files, generate png and webp from jpeg in base64 URI format
  -a|--copyall              Copy all unprocessed files
  -?|-h|--help              Show help information

Building

Run dotnet publish -r win-x64 -c Release

S
Description
.NET console tool to compress CBZ, CBR archives with jpeg or png files to CBZ with WEBP converted images The tool is able to convert also single jpg or png images to webp
Readme 823 KiB
Languages
C# 100%