//
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0.
//
namespace ImageSharp.Formats
{
using System;
using System.IO;
///
/// Encoder for writing the data image to a stream in TIFF format.
///
public class TiffEncoder : IImageEncoder
{
///
public void Encode(Image image, Stream stream, IEncoderOptions options)
where TColor : struct, IPixel
{
ITiffEncoderOptions tiffOptions = TiffEncoderOptions.Create(options);
this.Encode(image, stream, tiffOptions);
}
///
/// Encodes the image to the specified stream from the .
///
/// The pixel format.
/// The to encode from.
/// The to encode the image data to.
/// The options for the encoder.
public void Encode(Image image, Stream stream, ITiffEncoderOptions options)
where TColor : struct, IPixel
{
throw new NotImplementedException();
// TiffEncoderCore encode = new TiffEncoderCore(options);
// encode.Encode(image, stream);
}
}
}