//
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0.
//
namespace ImageProcessorCore
{
///
/// Represents a single frame in a animation.
///
/// The pixel format.
/// The packed format. uint, long, float.
public class ImageFrame : ImageBase
where TColor : IPackedVector
where TPacked : struct
{
///
/// Initializes a new instance of the class.
///
public ImageFrame()
{
}
///
/// Initializes a new instance of the class.
///
///
/// The frame to create the frame from.
///
public ImageFrame(ImageFrame frame)
: base(frame)
{
}
///
public override string ToString()
{
return $"ImageFrame: {this.Width}x{this.Height}";
}
}
}