diff --git a/Comic_Compressor/LegacyFormatCompressor.cs b/Comic_Compressor/LegacyFormatCompressor.cs index 216154f..0eee6e6 100644 --- a/Comic_Compressor/LegacyFormatCompressor.cs +++ b/Comic_Compressor/LegacyFormatCompressor.cs @@ -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"; diff --git a/Comic_Compressor/MixProcessor.cs b/Comic_Compressor/MixProcessor.cs index 734822b..825fe09 100644 --- a/Comic_Compressor/MixProcessor.cs +++ b/Comic_Compressor/MixProcessor.cs @@ -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"; diff --git a/Comic_Compressor/Program.cs b/Comic_Compressor/Program.cs index b4d6a31..af02604 100644 --- a/Comic_Compressor/Program.cs +++ b/Comic_Compressor/Program.cs @@ -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("请选择源图像所在位置:");