diff --git a/src/ImageProcessorCore/Formats/Jpg/JpegConstants.cs b/src/ImageProcessorCore/Formats/Jpg/JpegConstants.cs index 27514d667..91dab75c6 100644 --- a/src/ImageProcessorCore/Formats/Jpg/JpegConstants.cs +++ b/src/ImageProcessorCore/Formats/Jpg/JpegConstants.cs @@ -18,32 +18,32 @@ namespace ImageProcessorCore.Formats /// /// Represents high detail chroma horizontal subsampling. /// - public static readonly byte[] ChromaFourFourFourHorizontal = { 1, 1, 1 }; + public static readonly byte[] ChromaFourFourFourHorizontal = { 0x1, 0x1, 0x1 }; /// /// Represents high detail chroma vertical subsampling. /// - public static readonly byte[] ChromaFourFourFourVertical = { 1, 1, 1 }; + public static readonly byte[] ChromaFourFourFourVertical = { 0x1, 0x1, 0x1 }; /// /// Represents medium detail chroma horizontal subsampling. /// - public static readonly byte[] ChromaFourTwoTwoHorizontal = { 2, 1, 1 }; + public static readonly byte[] ChromaFourTwoTwoHorizontal = { 0x2, 0x1, 0x1 }; /// /// Represents medium detail chroma vertical subsampling. /// - public static readonly byte[] ChromaFourTwoTwoVertical = { 1, 1, 1 }; + public static readonly byte[] ChromaFourTwoTwoVertical = { 0x1, 0x1, 0x1 }; /// /// Represents low detail chroma horizontal subsampling. /// - public static readonly byte[] ChromaFourTwoZeroHorizontal = { 2, 1, 1 }; + public static readonly byte[] ChromaFourTwoZeroHorizontal = { 0x2, 0x1, 0x1 }; /// /// Represents low detail chroma vertical subsampling. /// - public static readonly byte[] ChromaFourTwoZeroVertical = { 2, 1, 1 }; + public static readonly byte[] ChromaFourTwoZeroVertical = { 0x2, 0x1, 0x1 }; /// /// Describes component ids for start of frame components.