From 8eed3601765a2f5a1732d08b5005a40471e6e9bc Mon Sep 17 00:00:00 2001 From: Brian Popow Date: Sat, 12 Oct 2019 00:03:10 +0200 Subject: [PATCH] Add empty implementation of IImageDecoder to test github colaboration --- src/ImageSharp/Formats/WebP/WebPDecoder.cs | 23 ++++++++++++++++--- .../Formats/WebP/WebPImageFormatDetector.cs | 3 +++ 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/src/ImageSharp/Formats/WebP/WebPDecoder.cs b/src/ImageSharp/Formats/WebP/WebPDecoder.cs index 100715328a..2675e8610b 100644 --- a/src/ImageSharp/Formats/WebP/WebPDecoder.cs +++ b/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 { + /// + /// Image decoder for generating an image out of a webp stream. + /// public sealed class WebPDecoder : IImageDecoder { + /// + public Image Decode(Configuration configuration, Stream stream) + where TPixel : struct, IPixel + { + throw new System.NotImplementedException(); + } + + /// + public Image Decode(Configuration configuration, Stream stream) + { + throw new System.NotImplementedException(); + } } } diff --git a/src/ImageSharp/Formats/WebP/WebPImageFormatDetector.cs b/src/ImageSharp/Formats/WebP/WebPImageFormatDetector.cs index 208229c4de..4a894b1743 100644 --- a/src/ImageSharp/Formats/WebP/WebPImageFormatDetector.cs +++ b/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