Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e88e138
commit 61c9caf
Showing
22 changed files
with
208 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,9 @@ | ||
using SixLabors.ImageSharp.Formats; | ||
using SixLabors.ImageSharp.MetaData; | ||
|
||
namespace SixLabors.ImageSharp | ||
namespace SixLabors.ImageSharp | ||
{ | ||
/// <summary> | ||
/// Represents the base image abstraction. | ||
/// </summary> | ||
public interface IImage | ||
public interface IImage : IImageInfo | ||
{ | ||
/// <summary> | ||
/// Gets information about pixel. | ||
/// </summary> | ||
PixelTypeInfo PixelType { get; } | ||
|
||
/// <summary> | ||
/// Gets the width. | ||
/// </summary> | ||
int Width { get; } | ||
|
||
/// <summary> | ||
/// Gets the height. | ||
/// </summary> | ||
int Height { get; } | ||
|
||
/// <summary> | ||
/// Gets the meta data of the image. | ||
/// </summary> | ||
ImageMetaData MetaData { get; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
using SixLabors.ImageSharp.Formats; | ||
using SixLabors.ImageSharp.MetaData; | ||
|
||
namespace SixLabors.ImageSharp | ||
{ | ||
/// <summary> | ||
/// Represents raw image information. | ||
/// </summary> | ||
public interface IImageInfo | ||
{ | ||
/// <summary> | ||
/// Gets the raw image pixel type information. | ||
/// </summary> | ||
PixelTypeInfo PixelType { get; } | ||
|
||
/// <summary> | ||
/// Gets the width. | ||
/// </summary> | ||
int Width { get; } | ||
|
||
/// <summary> | ||
/// Gets the height. | ||
/// </summary> | ||
int Height { get; } | ||
|
||
/// <summary> | ||
/// Gets the meta data of the image. | ||
/// </summary> | ||
ImageMetaData MetaData { get; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.