Compare commits

..

No commits in common. "d16467ea9e84908738256d8d1a71c321a09c25a4" and "62cc08ca70fb433ac82ac4139c8e6cf9171f975a" have entirely different histories.

View File

@ -33,14 +33,6 @@ namespace Comic_Compressor
return;
}
Console.WriteLine("目标格式0 - webp, 1 - avif, 2 - JXL(JPEG-XL), 3 - JPG, 4 - PNG, 5 - BMP, 6 - 保留原格式");
string? modeInput = Console.ReadLine();
if (modeInput == null)
{
Console.WriteLine("无效格式");
return;
}
Console.WriteLine("使用预设质量(默认使用)(y/n)");
string? input = Console.ReadLine()?.Trim().ToLower();
bool usePresetQuality = input == null || input == "" || input == "y" || input == "yes";
@ -62,6 +54,14 @@ namespace Comic_Compressor
}
}
Console.WriteLine("目标格式0 - webp, 1 - avif, 2 - JXL(JPEG-XL), 3 - JPG, 4 - PNG, 5 - BMP, 6 - 保留原格式");
string? modeInput = Console.ReadLine();
if (modeInput == null)
{
Console.WriteLine("无效格式");
return;
}
switch (modeInput)
{
case "0":