//
// 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. long, float.
public class ImageFrame : ImageBase
where T : IPackedVector, new()
where TP : 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 IPixelAccessor Lock()
{
return Bootstrapper.Instance.GetPixelAccessor(this);
}
}
}