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.
33 lines
890 B
33 lines
890 B
// <copyright file="Component.cs" company="James Jackson-South">
|
|
// Copyright (c) James Jackson-South and contributors.
|
|
// Licensed under the Apache License, Version 2.0.
|
|
// </copyright>
|
|
|
|
namespace ImageSharp.Formats.Jpg
|
|
{
|
|
/// <summary>
|
|
/// Represents a single color component
|
|
/// </summary>
|
|
internal struct Component
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the horizontal sampling factor.
|
|
/// </summary>
|
|
public int HorizontalFactor;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the vertical sampling factor.
|
|
/// </summary>
|
|
public int VerticalFactor;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the identifier
|
|
/// </summary>
|
|
public byte Identifier;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the quantization table destination selector.
|
|
/// </summary>
|
|
public byte Selector;
|
|
}
|
|
}
|
|
|