diff --git a/src/ImageSharp/Formats/WebP/WebPConstants.cs b/src/ImageSharp/Formats/WebP/WebPConstants.cs index 038d11301f..f07a79814e 100644 --- a/src/ImageSharp/Formats/WebP/WebPConstants.cs +++ b/src/ImageSharp/Formats/WebP/WebPConstants.cs @@ -94,6 +94,9 @@ namespace SixLabors.ImageSharp.Formats.WebP LossLessFlag // L }; + /// + /// Chunk contains information about the alpha channel. + /// public static readonly byte[] AlphaHeader = { 0x41, // A @@ -101,5 +104,60 @@ namespace SixLabors.ImageSharp.Formats.WebP 0x50, // P 0x48, // H }; + + /// + /// Chunk which contains a color profile. + /// + public static readonly byte[] IccpHeader = + { + 0x49, // I + 0x43, // C + 0x43, // C + 0x50, // P + }; + + /// + /// Chunk which contains EXIF metadata about the image. + /// + public static readonly byte[] ExifHeader = + { + 0x45, // E + 0x58, // X + 0x49, // I + 0x46, // F + }; + + /// + /// Chunk contains XMP metadata about the image. + /// + public static readonly byte[] XmpHeader = + { + 0x58, // X + 0x4D, // M + 0x50, // P + 0x20, // Space + }; + + /// + /// For an animated image, this chunk contains the global parameters of the animation. + /// + public static readonly byte[] AnimationParameterHeader = + { + 0x41, // A + 0x4E, // N + 0x49, // I + 0x4D, // M + }; + + /// + /// For animated images, this chunk contains information about a single frame. If the Animation flag is not set, then this chunk SHOULD NOT be present. + /// + public static readonly byte[] AnimationHeader = + { + 0x41, // A + 0x4E, // N + 0x4D, // M + 0x46, // F + }; } }