Browse Source

Add empty implementation of IImageDecoder to test github colaboration

pull/1552/head
Brian Popow 7 years ago
parent
commit
4e7b722d79
  1. 23
      src/ImageSharp/Formats/WebP/WebPDecoder.cs
  2. 3
      src/ImageSharp/Formats/WebP/WebPImageFormatDetector.cs

23
src/ImageSharp/Formats/WebP/WebPDecoder.cs

@ -1,10 +1,27 @@
using System; // Copyright (c) Six Labors and contributors.
using System.Collections.Generic; // Licensed under the Apache License, Version 2.0.
using System.Text;
using System.IO;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.WebP namespace SixLabors.ImageSharp.Formats.WebP
{ {
/// <summary>
/// Image decoder for generating an image out of a webp stream.
/// </summary>
public sealed class WebPDecoder : IImageDecoder public sealed class WebPDecoder : IImageDecoder
{ {
/// <inheritdoc/>
public Image<TPixel> Decode<TPixel>(Configuration configuration, Stream stream)
where TPixel : struct, IPixel<TPixel>
{
throw new System.NotImplementedException();
}
/// <inheritdoc/>
public Image Decode(Configuration configuration, Stream stream)
{
throw new System.NotImplementedException();
}
} }
} }

3
src/ImageSharp/Formats/WebP/WebPImageFormatDetector.cs

@ -1,3 +1,6 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System; using System;
namespace SixLabors.ImageSharp.Formats.WebP namespace SixLabors.ImageSharp.Formats.WebP

Loading…
Cancel
Save