// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
using SixLabors.ImageSharp.PixelFormats;
using System;
namespace SixLabors.ImageSharp.Formats {
///
/// A metadata format designed to allow conversion between different image format frames.
///
public class FormatConnectingFrameMetadata
{
///
/// Gets information about the encoded pixel type if any.
///
public PixelTypeInfo? PixelTypeInfo { get; init; }
///
/// Gets the frame color table mode.
///
public FrameColorTableMode ColorTableMode { get; init; }
///
/// Gets the duration of the frame.
///
public TimeSpan Duration { get; init; }
///
/// Gets the frame alpha blending mode.
///
public FrameBlendMode BlendMode { get; init; }
///
/// Gets the frame disposal mode.
///
public FrameDisposalMode DisposalMode { get; init; }
///
/// Gets or sets the encoding width.
/// Used for formats that require a specific frame size.
///
public int? EncodingWidth { get; set; }
///
/// Gets or sets the encoding height.
/// Used for formats that require a specific frame size.
///
public int? EncodingHeight { get; set; }
}
}