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.
22 lines
681 B
22 lines
681 B
namespace ImageSharp.Benchmarks
|
|
{
|
|
using ImageSharp.Formats;
|
|
|
|
/// <summary>
|
|
/// The image benchmark base class.
|
|
/// </summary>
|
|
public abstract class BenchmarkBase
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="BenchmarkBase"/> class.
|
|
/// </summary>
|
|
protected BenchmarkBase()
|
|
{
|
|
// Add Image Formats
|
|
Configuration.Default.AddImageFormat(new JpegFormat());
|
|
Configuration.Default.AddImageFormat(new PngFormat());
|
|
Configuration.Default.AddImageFormat(new BmpFormat());
|
|
Configuration.Default.AddImageFormat(new GifFormat());
|
|
}
|
|
}
|
|
}
|
|
|