//
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0.
//
namespace ImageProcessorCore
{
using System.Diagnostics;
using System.IO;
///
/// Represents an image. Each pixel is a made up four 8-bit components red, green, blue, and alpha
/// packed into a single unsigned integer value.
///
[DebuggerDisplay("Image: {Width}x{Height}")]
public class Image : Image
{
///
/// Initializes a new instance of the class
/// with the height and the width of the image.
///
public Image()
{
}
///
/// Initializes a new instance of the class
/// with the height and the width of the image.
///
/// The width of the image in pixels.
/// The height of the image in pixels.
public Image(int width, int height)
: base(width, height)
{
}
///
/// Initializes a new instance of the class.
///
///
/// The stream containing image information.
///
/// Thrown if the is null.
public Image(Stream stream)
: base(stream)
{
}
///
/// Initializes a new instance of the class
/// by making a copy from another image.
///
/// The other image, where the clone should be made from.
/// is null.
public Image(Image other)
: base(other)
{
}
}
}