Eleris.TiffNet 0.1.0

dotnet add package Eleris.TiffNet --version 0.1.0
                    
NuGet\Install-Package Eleris.TiffNet -Version 0.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Eleris.TiffNet" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Eleris.TiffNet" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Eleris.TiffNet" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Eleris.TiffNet --version 0.1.0
                    
#r "nuget: Eleris.TiffNet, 0.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Eleris.TiffNet@0.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Eleris.TiffNet&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Eleris.TiffNet&version=0.1.0
                    
Install as a Cake Tool

Eleris.TiffNet

A pure managed .NET library to read and write TIFF images, made for astronomy and scientific data: 8 to 64-bit integer and floating point samples, grey or RGB, the metadata astronomy software stores in TIFF (Astro-TIFF FITS headers, ICC profiles), multi-core encoding and decoding, and bounded resources on hostile files. net10.0 on Windows, Linux, NativeAOT and .NET MAUI; no dependency. The sister library of Eleris.FitsNet.

using Eleris.TiffNet;

// Write 16-bit grey pixels (Deflate with a predictor, by default), then read them back as floating point.
ushort[] pixels = [0, 1000, 2000, 3000, 4000, 65535];
new TiffFile().Add(TiffImage.Create<ushort>(pixels, width: 3, height: 2)).Save("image.tif");

using var file = TiffFile.Open("image.tif");
float[] values = file.Primary.ReadPixels<float>();
  • Reads classic TIFF and BigTIFF, strips and tiles, interleaved and planar, none, PackBits, LZW, Deflate and JPEG (baseline and progressive), samples of 1 to 16, 32 and 64 bits, regions and channels, with every orientation applied.
  • Writes none, PackBits, LZW and Deflate with predictors, strips or tiles, BigTIFF when needed, and images larger than an array piece by piece (TiffImageWriter).
  • Safe on untrusted files: every allocation a file asks for is bounded by TiffReadOptions.

The guide, the API reference and the coverage of the standard are in the repository.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 86 11/15/2026