mirror of https://github.com/SixLabors/ImageSharp
8 changed files with 283 additions and 44 deletions
@ -0,0 +1,25 @@ |
|||||
|
// Copyright (c) Six Labors.
|
||||
|
// Licensed under the Six Labors Split License.
|
||||
|
|
||||
|
namespace SixLabors.ImageSharp.Formats.Heif; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Enumerates the component bit depths supported for HEIF image encoding.
|
||||
|
/// </summary>
|
||||
|
public enum HeifBitDepth : byte |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// Eight bits per image component.
|
||||
|
/// </summary>
|
||||
|
Bit8 = 8, |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Ten bits per image component.
|
||||
|
/// </summary>
|
||||
|
Bit10 = 10, |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Twelve bits per image component.
|
||||
|
/// </summary>
|
||||
|
Bit12 = 12 |
||||
|
} |
||||
@ -0,0 +1,30 @@ |
|||||
|
// Copyright (c) Six Labors.
|
||||
|
// Licensed under the Six Labors Split License.
|
||||
|
|
||||
|
namespace SixLabors.ImageSharp.Formats.Heif; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Enumerates the chroma sampling layouts supported for HEIF image encoding.
|
||||
|
/// </summary>
|
||||
|
public enum HeifChromaSubsampling : byte |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// A single luminance plane without chroma planes.
|
||||
|
/// </summary>
|
||||
|
Monochrome, |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Chroma sampled at half the luma resolution horizontally and vertically.
|
||||
|
/// </summary>
|
||||
|
Yuv420, |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Chroma sampled at half the luma resolution horizontally and full resolution vertically.
|
||||
|
/// </summary>
|
||||
|
Yuv422, |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Chroma sampled at full luma resolution horizontally and vertically.
|
||||
|
/// </summary>
|
||||
|
Yuv444 |
||||
|
} |
||||
@ -1,12 +0,0 @@ |
|||||
// Copyright (c) Six Labors.
|
|
||||
// Licensed under the Six Labors Split License.
|
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Formats.Heif; |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// Configuration options for use during HEIF encoding.
|
|
||||
/// </summary>
|
|
||||
internal interface IHeifEncoderOptions |
|
||||
{ |
|
||||
// None defined yet.
|
|
||||
} |
|
||||
Loading…
Reference in new issue