mirror of https://github.com/SixLabors/ImageSharp
5 changed files with 61 additions and 0 deletions
@ -0,0 +1,14 @@ |
|||||
|
// Copyright (c) Six Labors and contributors.
|
||||
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
|
using System; |
||||
|
using System.IO; |
||||
|
|
||||
|
namespace SixLabors.ImageSharp.Formats.WebP |
||||
|
{ |
||||
|
class ExtendedDecoderCore : WebPDecoderCoreBase |
||||
|
{ |
||||
|
public override Image<TPixel> Decode<TPixel>(Stream stream) |
||||
|
=> throw new NotImplementedException(); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,14 @@ |
|||||
|
// Copyright (c) Six Labors and contributors.
|
||||
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
|
using System; |
||||
|
using System.IO; |
||||
|
|
||||
|
namespace SixLabors.ImageSharp.Formats.WebP |
||||
|
{ |
||||
|
class SimpleLosslessDecoder : WebPDecoderCoreBase |
||||
|
{ |
||||
|
public override Image<TPixel> Decode<TPixel>(Stream stream) |
||||
|
=> throw new NotImplementedException(); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,14 @@ |
|||||
|
// Copyright (c) Six Labors and contributors.
|
||||
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
|
||||
|
using System; |
||||
|
using System.IO; |
||||
|
|
||||
|
namespace SixLabors.ImageSharp.Formats.WebP |
||||
|
{ |
||||
|
class SimpleLossyDecoder : WebPDecoderCoreBase |
||||
|
{ |
||||
|
public override Image<TPixel> Decode<TPixel>(Stream stream) |
||||
|
=> throw new NotImplementedException(); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,18 @@ |
|||||
|
// 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>
|
||||
|
/// Base class for the WebP image decoders.
|
||||
|
/// </summary>
|
||||
|
public abstract class WebPDecoderCoreBase |
||||
|
{ |
||||
|
public abstract Image<TPixel> Decode<TPixel>(Stream stream) |
||||
|
where TPixel : struct, IPixel<TPixel>; |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue