mirror of https://github.com/SixLabors/ImageSharp
5 changed files with 1539 additions and 3 deletions
@ -0,0 +1,14 @@ |
|||||
|
// Copyright (c) Six Labors.
|
||||
|
// Licensed under the Six Labors Split License.
|
||||
|
|
||||
|
using System.Diagnostics; |
||||
|
|
||||
|
namespace SixLabors.ImageSharp.Formats.Jxl.IO.Jpeg; |
||||
|
|
||||
|
internal static class JpegDebug |
||||
|
{ |
||||
|
[Conditional("DEBUG")] |
||||
|
public static void LogWarning(string message) => |
||||
|
// TODO: do we allow Debug.WriteLine in this codebase?
|
||||
|
Debug.WriteLine($"⚠️ JPEG XL [JPEG parser]: {message}"); |
||||
|
} |
||||
@ -0,0 +1,13 @@ |
|||||
|
// Copyright (c) Six Labors.
|
||||
|
// Licensed under the Six Labors Split License.
|
||||
|
|
||||
|
namespace SixLabors.ImageSharp.Formats.Jxl.IO.Jpeg; |
||||
|
|
||||
|
internal enum JpegReadMode : byte |
||||
|
{ |
||||
|
ReadHeader, |
||||
|
|
||||
|
ReadTables, |
||||
|
|
||||
|
ReadEverything |
||||
|
} |
||||
File diff suppressed because it is too large
Loading…
Reference in new issue