mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
786 B
25 lines
786 B
// <copyright file="JpegSubsample.cs" company="James Jackson-South">
|
|
// Copyright (c) James Jackson-South and contributors.
|
|
// Licensed under the Apache License, Version 2.0.
|
|
// </copyright>
|
|
|
|
namespace ImageSharp.Formats
|
|
{
|
|
/// <summary>
|
|
/// Enumerates the chroma subsampling method applied to the image.
|
|
/// </summary>
|
|
public enum JpegSubsample
|
|
{
|
|
/// <summary>
|
|
/// High Quality - Each of the three Y'CbCr components have the same sample rate,
|
|
/// thus there is no chroma subsampling.
|
|
/// </summary>
|
|
Ratio444,
|
|
|
|
/// <summary>
|
|
/// Medium Quality - The horizontal sampling is halved and the Cb and Cr channels are only
|
|
/// sampled on each alternate line.
|
|
/// </summary>
|
|
Ratio420
|
|
}
|
|
}
|
|
|