Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
AddCustomTagsToExistingTiff Added descriptions for samples Oct 24, 2018
AddPageToTiff Added descriptions for samples Oct 24, 2018
BitmapTo24BitColorTiff Added descriptions for samples Oct 24, 2018
BitmapTo32BitColorTiff Updated Convert System.Drawing.Bitmap to a 32-bit color TIFF sample Nov 1, 2018
BitonalTiffToBitmap Added descriptions for samples Oct 24, 2018
Convert16BitTo8Bit Added descriptions for samples Oct 24, 2018
ConvertToSingleStrip Added descriptions for samples Oct 24, 2018
ConvertToSingleStripInMemory Added descriptions for samples Oct 24, 2018
Create16BitGrayscaleTiff Added descriptions for samples Oct 24, 2018
CreateGradientTiff Added descriptions for samples Oct 24, 2018
CreateMultipageTiff Added descriptions for samples Oct 24, 2018
DetermineCorruptPage Added descriptions for samples Oct 24, 2018
EnumerateTiffTags Added descriptions for samples Oct 24, 2018
ImageToBitonalTiff Added descriptions for samples Oct 24, 2018
NumberOfPages Added descriptions for samples Oct 24, 2018
PrintDirectory Added descriptions for samples Oct 24, 2018
Process16BitSamples Added descriptions for samples Oct 24, 2018
ReadArbitraryScanlines Added descriptions for samples Oct 24, 2018
ReadBasicProperties Added descriptions for samples Oct 24, 2018
ReadExifMetadata Added descriptions for samples Oct 24, 2018
ReadSamples Added descriptions for samples Oct 24, 2018
ReadUnknownTagValue Added descriptions for samples Oct 24, 2018
ReadWriteCustomTags Added descriptions for samples Oct 24, 2018
RotateTiff Added descriptions for samples Oct 24, 2018
Sample Data Added C# samples Oct 23, 2018
SimpleTiffCopy Added descriptions for samples Oct 24, 2018
TiffTo24BitBitmap Added descriptions for samples Oct 24, 2018
TiffTo32BitBitmap Added descriptions for samples Oct 24, 2018
TiffWithColorMap Added descriptions for samples Oct 24, 2018
UsingCustomTiffStream Added descriptions for samples Oct 24, 2018
UsingSystemIOStream Added descriptions for samples Oct 24, 2018
WriteBlackWhiteTiff Added descriptions for samples Oct 24, 2018
WriteTagsBeforeData Added descriptions for samples Oct 24, 2018
README.md Update Samples/README.md Oct 24, 2018
SamplesCSharp.sln Added C# samples Oct 23, 2018
SamplesVB.NET.sln Added VB.NET samples Oct 24, 2018

README.md

Sample code for LibTiff.Net

Add custom tags to existing TIFF

This sample shows how to add custom TIFF tag to an existing TIFF image.

Add page to TIFF

This sample shows how to add new page to existing TIFF.

Bitmap to 24bit color TIFF

This sample shows how to convert a System.Drawing.Bitmap to the 24-bit color LZW compressed TIFF image.

Bitmap to 32bit color TIFF

This sample shows how to convert a System.Drawing.Bitmap to the 32-bit color LZW compressed TIFF image.

Bitonal TIFF to bitmap

This sample shows how to convert black and white TIFF image to a System.Drawing.Bitmap.

Convert 16bit to 8bit

This sample shows how to convert 16-bit grayscale TIFF image to a 8-bit System.Drawing.Bitmap.

Convert to single strip

This sample shows how to convert any non-tiled TIFF image to the TIFF image which have all data written in a single strip.

Convert to single strip in memory

This sample shows how to convert any non-tiled TIFF image to the TIFF image which have all data written in a single strip using custom TiffStream and System.IO.MemoryStream.

Create 16bit grayscale TIFF

This sample shows how to create 16-bit grayscale TIFF image.

Create gradient TIFF

This sample shows how to create simple grayscale gradient TIFF image.

Create multipage TIFF

This sample shows how to create a multipage TIFF image.

Determine corrupt page

This sample shows how to check whether a TIFF page is corrupted.

Enumerate TIFF tags

This sample shows how to enumerate all tags that are set in a TIFF image.

Image to bitonal TIFF

This sample shows how to convert a System.Drawing.Bitmap to the black&white CCITT compressed TIFF image.

Number of pages

This sample shows how to get the number of pages in TIFF image.

Print directory

This sample shows how to pretty-print contents of a TIFF file using plain text representation.

Process 16bit samples

This sample shows how to read 16-bit TIFF image and process its pixels (create brighter version of the image).

Read arbitrary scanlines

This sample shows how to read image scanlines in a random fashion.

Read basic properties

This sample shows how to read basic properties of a TIFF image like dimensions and resolution.

Read EXIF metadata

This sample shows how to extract EXIF metadata from a TIFF file.

Read samples

This sample shows how to read RGB value of any pixel in a TIFF image.

Read unknown tag value

This sample shows how to read value of a TIFF tag that is not well-known to the library.

Read and write custom tags

This sample shows how to read and write custom TIFF tags.

Rotate TIFF

This sample shows how to rotate a TIFF image by 90, 180 and 270 degrees. Rotated images are to be properly displayed by any TIFF viewer.

Simple TIFF copy

This sample shows how to copy contents of an existing TIFF image to a new one.

TIFF to 24bit bitmap

This sample shows how to convert a TIFF image to the 24-bit color System.Drawing.Bitmap.

TIFF to 32bit bitmap

This sample shows how to convert a TIFF image to the 32-bit color System.Drawing.Bitmap.

TIFF with color map

This sample shows how to create TIFF image with colormap (palette).

Using custom TiffStream

This sample shows how to use a custom TiffStream to read and write TIFF images.

Using System.IO.Stream

This sample shows how to use a System.IO.Stream to read and write TIFF images.

Write black-and-white TIFF

This sample shows how to create simple black and white TIFF image.

Write tags before data

This sample shows how to create a TIFF image with its tags saved before the image data.

You can’t perform that action at this time.