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.
25 lines
541 B
25 lines
541 B
namespace GenericImage
|
|
{
|
|
using GenericImage.PackedVectors;
|
|
|
|
public class ImageRgba64 : IImageBase<Rgba64>
|
|
{
|
|
public ImageRgba64(int width, int height)
|
|
{
|
|
this.Width = width;
|
|
this.Height = height;
|
|
this.Pixels = new Rgba64[width * height];
|
|
}
|
|
|
|
public Rgba64[] Pixels { get; }
|
|
|
|
public int Width { get; }
|
|
|
|
public int Height { get; }
|
|
|
|
public IPixelAccessor Lock()
|
|
{
|
|
return new PixelAccessorRgba64(this);
|
|
}
|
|
}
|
|
}
|
|
|