// --------------------------------------------------------------------------------------------------------------------
//
// Copyright (c) James South.
// Licensed under the Apache License, Version 2.0.
//
//
// Provides information about an image.
//
//
// --------------------------------------------------------------------------------------------------------------------
namespace ImageProcessor.Extensions
{
using System.Collections.Generic;
using ImageProcessor.Imaging;
///
/// Provides information about an image.
///
///
public class ImageInfo
{
///
/// Gets or sets the image width.
///
public int Width { get; set; }
///
/// Gets or sets the image height.
///
public int Height { get; set; }
///
/// Gets or sets a value indicating whether the image is indexed.
///
public bool IsIndexed { get; set; }
///
/// Gets or sets a value indicating whether the image is animated.
///
public bool IsAnimated { get; set; }
///
/// Gets or sets a value indicating whether the image is looped.
///
public bool IsLooped { get; set; }
///
/// Gets or sets the loop count.
///
public int LoopCount { get; set; }
///
/// Gets or sets the gif frames.
///
public ICollection GifFrames { get; set; }
///
/// Gets or sets the animation length in milliseconds.
///
public int AnimationLength { get; set; }
}
}