Browse Source

Add empty implementation of IImageDecoder to test github colaboration

pull/1025/head
Brian Popow 7 years ago
parent
commit
8eed360176
  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;
using System.Collections.Generic;
using System.Text;
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System.IO;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.WebP
{
/// <summary>
/// Image decoder for generating an image out of a webp stream.
/// </summary>
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;
namespace SixLabors.ImageSharp.Formats.WebP

Loading…
Cancel
Save