Changed readme.md

This commit is contained in:
2024-08-28 23:39:20 +02:00
parent da112b0ff9
commit 87b7ef4fdf
2 changed files with 8 additions and 4 deletions
+4 -4
View File
@@ -77,19 +77,19 @@ namespace ComicCompressor
[Option("-p|--parallel", Description = "Run in parallel, utilizing all computing resources")] [Option("-p|--parallel", Description = "Run in parallel, utilizing all computing resources")]
public bool IsParallel { get; } = false; public bool IsParallel { get; } = false;
[Option("-c|--cpu", Description = "Run in parallel, utilizing given computing resources")] [Option("-c|--cpu", Description = "Run in parallel, use given number of CPUs")]
public int NumOfCpu { get; } = Environment.ProcessorCount; public int NumOfCpu { get; } = Environment.ProcessorCount;
[Option("-d|--pdf", Description = "process pdf only")] [Option("-d|--pdf", Description = "Process pdf only")]
public bool DoPdf { get; } = false; public bool DoPdf { get; } = false;
[Option("-j|--image", Description = "process images only")] [Option("-j|--image", Description = "Process images only")]
public bool DoImage { get; } = false; public bool DoImage { get; } = false;
[Option("-n|--prn", Description = "Process Zebra PRN files, generate png and webp from jpeg in base64 URI format")] [Option("-n|--prn", Description = "Process Zebra PRN files, generate png and webp from jpeg in base64 URI format")]
public bool DoPrn { get; } = false; public bool DoPrn { get; } = false;
[Option("-a|--copyall", Description = "copy all unprocessed files")] [Option("-a|--copyall", Description = "Copy all unprocessed files")]
public bool DoCopyAll { get; } = false; public bool DoCopyAll { get; } = false;
#endregion #endregion
+4
View File
@@ -17,6 +17,10 @@ Run `dotnet run -- [args]`
-s|--skip Skip processing file if it already exists in the output folder -s|--skip Skip processing file if it already exists in the output folder
-q|--quality Quality to use for the webp files (default: 75) -q|--quality Quality to use for the webp files (default: 75)
-p|--parallel Run in parallel, utilizing all computing resources -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 -?|-h|--help Show help information
``` ```