Use Magick instead of ImageSharp
Support more formats and output in original format (3/10)
This commit is contained in:
parent
a3e953b4e7
commit
b1a7268288
@ -8,7 +8,7 @@ namespace Comic_Compressor
|
||||
internal static void CompressImages(string sourceImagePath, string targetStoragePath, int threadCount, int format)
|
||||
{
|
||||
//check format
|
||||
//throw new NotImplementedException();
|
||||
throw new NotImplementedException();
|
||||
//config
|
||||
MagickFormat targetFormat = MagickFormat.Jxl;
|
||||
string targetExtension = ".jxl";
|
||||
|
@ -7,6 +7,7 @@ namespace Comic_Compressor
|
||||
internal static void CompressImages(string sourceImagePath, string targetStoragePath, int threadCount, int format)
|
||||
{
|
||||
//detect mu-config
|
||||
throw new NotImplementedException();
|
||||
//config
|
||||
MagickFormat targetFormat = MagickFormat.Jxl;
|
||||
string targetExtension = ".jxl";
|
||||
|
@ -1,4 +1,5 @@
|
||||
using System.Text;
|
||||
using ImageMagick;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
namespace Comic_Compressor
|
||||
{
|
||||
@ -7,6 +8,7 @@ namespace Comic_Compressor
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
//OpenCL.IsEnabled = true;
|
||||
Console.OutputEncoding = Encoding.UTF8;
|
||||
|
||||
Console.WriteLine("请选择源图像所在位置:");
|
||||
|
Loading…
Reference in New Issue
Block a user