TiffLibrary.ImageSharpAdapter 0.6.65

.NET Standard 2.0
Install-Package TiffLibrary.ImageSharpAdapter -Version 0.6.65
dotnet add package TiffLibrary.ImageSharpAdapter --version 0.6.65
<PackageReference Include="TiffLibrary.ImageSharpAdapter" Version="0.6.65" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TiffLibrary.ImageSharpAdapter --version 0.6.65
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TiffLibrary.ImageSharpAdapter, 0.6.65"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install TiffLibrary.ImageSharpAdapter as a Cake Addin
#addin nuget:?package=TiffLibrary.ImageSharpAdapter&version=0.6.65

// Install TiffLibrary.ImageSharpAdapter as a Cake Tool
#tool nuget:?package=TiffLibrary.ImageSharpAdapter&version=0.6.65
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This package adds TIFF decoding and encoding supports into SixLabors.ImageSharp library.

Add the following code to the start up process of your application (eg. Main method) to add TIFF support to SixLabors.ImageSharp.

SixLabors.ImageSharp.Configuration.Default.Configure(new TiffLibrary.ImageSharpAdapter.TiffConfigurationModule());

Now you should be able to decode or encode TIFF files using ImageSharp APIs.

using (Image<Rgba32> image = Image.Load<Rgba32>(@"C:\Data\test.tif"))
{
    image.Save(@"C:\Data\test2.tif");
    // Or
    image.Save(@"C:\Data\test2.tif", new TiffEncoder
    {
        PhotometricInterpretation = TiffPhotometricInterpretation.RGB,
        EnableTransparencyForRgb = true,
        Compression = TiffCompression.Deflate,
        DeflateCompressionLevel = TiffDeflateCompressionLevel.Default,
        Predictor = TiffPredictor.HorizontalDifferencing
    });
}
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on TiffLibrary.ImageSharpAdapter:

Repository Stars
Azure-Samples/azure-search-power-skills
A collection of useful functions to be deployed as custom skills for Azure Cognitive Search
Version Downloads Last updated
0.6.65 12,049 11/16/2021
0.6.61 167 11/10/2021
0.5.265 4,344 9/15/2021
0.5.263 17,019 7/26/2021
0.5.260 10,959 10/29/2020
0.5.252 87,629 8/16/2020
0.5.244-beta 261 8/5/2020
0.5.221-beta 367 6/22/2020
0.5.220-beta 224 6/12/2020
0.5.201-beta 230 5/1/2020
0.5.178-beta 1,752 2/25/2020
0.5.160-beta 289 2/7/2020
0.5.134-beta 1,005 12/14/2019
0.5.112-beta 254 11/28/2019
0.5.99-beta 270 11/22/2019
0.5.27-beta 244 10/24/2019
0.5.4-beta 2,490 10/23/2019