mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
714 B
19 lines
714 B
// Copyright (c) Six Labors and contributors.
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
namespace SixLabors.ImageSharp.Formats
|
|
{
|
|
/// <summary>
|
|
/// Registers the image encoders, decoders and mime type detectors for the TIFF format.
|
|
/// </summary>
|
|
public sealed class TiffConfigurationModule : IConfigurationModule
|
|
{
|
|
/// <inheritdoc/>
|
|
public void Configure(Configuration host)
|
|
{
|
|
host.ImageFormatsManager.SetEncoder(ImageFormats.Tiff, new TiffEncoder());
|
|
host.ImageFormatsManager.SetDecoder(ImageFormats.Tiff, new TiffDecoder());
|
|
host.ImageFormatsManager.AddImageFormatDetector(new TiffImageFormatDetector());
|
|
}
|
|
}
|
|
}
|