Questions tagged [libtiff.net]

The open-source .NET version of libtiff.

Project homepage

The .NET version of original libtiff library.

LibTiff.Net provides support for the Tag Image File Format (TIFF), a widely used format for storing image data.

LibTiff.Net is freely available for all uses under the New BSD license.

Features:

  • Free for use in any library, service or application
  • Full open source
  • Can be used as dll or included in your application source code.
  • 100% managed, without unsafe blocks
  • Can be used in Silverlight
  • No external dependencies
137 questions
0
votes
1 answer

Adding custom metadata tags using LibTiff.Net

I now how to add a custom tag to an image but it's not showing up as the tag name in image viewer. I only see the number I assigned and its value. Why there is no proper name for my custom tag? using BitMiracle.LibTiff.Classic; namespace…
0
votes
1 answer

Edit TIFF image without changing header data

I have a program that takes in stacks of TIFF images and is very particular about the header data (it expects all headers to be the same), however I want to edit a couple of the images in the stack before sending it to this program. Every program…
Nick Udell
  • 2,420
  • 5
  • 44
  • 83
0
votes
0 answers

Get an error writing Linear DNG via Libtiff .NET

I am trying to create a linear DNG file based on JPG using Lossy JPEG (34892) compression (which was introduced in DNG 1.4.0.0). After running the method below I got an error "Error: File format is invalid (JPEG dimensions do not match tile)" from…
dimonser
  • 675
  • 6
  • 12
0
votes
2 answers

How to get GeoTiff world-positioning metadata using libtiff.net

I am trying to get the bounding-box of a GeoTiff file from the ALOS dataset (JAXA): Tiff terrainTiff = Tiff.Open(@"Assets/Project/Heightmaps/" + "N046E007" + "/ALPSMLC30_" + "N046E007" + "_DSM.tif", "r"); FieldValue[] modelPointTags…
dclipca
  • 1,739
  • 1
  • 16
  • 51
0
votes
0 answers

Saving the Tiff Image file using JPEG compression is time consuming

I am using Aspose.Imaging 19.11.0.0 for manipulating the Tiff Images with Compression JPEG, But here If I have 10MB+ sized tiff files(having 50 pages) then in this case it is taking 30 to 40 minutes to rotate these all tiff pages and application…
0
votes
0 answers

Not getting expected output while converting JPEG to TIFF image C# using BitMiracle.LibTiff.Net library

We are not getting expected output after converting JPEG file to TIFF using below property values.I am using BitMiracle LibTiff.Net library for this. Output was visible 50% of actual image with blur lines. We are below properties for converting jpeg…
Krishna
  • 1
  • 2
0
votes
0 answers

BitMiracle/libtiff.net copying pages to other tiff with compression

I am trying to built a program which reads a tiff file, selects a number of pages. extracts those pages and will put it in a List the Original tiffs have a TiffCompressOption.Ccitt4 compression. after extracting x pages from different files, I want…
0
votes
1 answer

How to get TiffCP to combine images with higher bit depth than 1

I am writing an application in C# that takes single page tiffs and combines them into a multi-page tiff. It works great except it fails on tiffs with a bit depth over 1. EG: 8 and 24 bit. private void CombineMulti_LibTiff(string pathToCombine,…
SAW
  • 1
  • 2
0
votes
0 answers

Windows 10 Desktop crashes in endless loop when a certain TIF image is placed on the desktop

I developed a software that creates tiled TIF images. A customer reports a TIF file that was created with my software that crashes Windows 10 desktop in an endless loop after it is placed on the desktop. I don't know what is wrong with this image. I…
Josef Bauer
  • 330
  • 2
  • 9
0
votes
0 answers

Reading multiple band image with C#

I'm trying to read images with multiple bands (multispectral images). A normal image normally has 3 bands (RGB). I learned that certain type of images (eg: satellite images) can have more than 3 bands, like infrared and etc. I know how to read a…
Tolga Evcimen
  • 7,112
  • 11
  • 58
  • 91
0
votes
1 answer

LibTIFF.NET convert tiled OJPEG to single tile image

We can observe that tiled OJPEG tiff files cannot be decompressed correctly. Is there any smart way to create a single tile interim file first?
RSWE
  • 1
  • 1
0
votes
1 answer

How to read all tiles from TIFF image using LibTiff.Net?

I'm new to TIFF and LibTiff.Net, I want to read tiled TIFF file and write it to other TIFF file. How can I achieve this? Also any material on Tiff files would be greatly helpful. Thanks in advance.
Aks
  • 13
  • 4
0
votes
0 answers

Read a TIFF image in C# using libtiff.NET

I have a 16 bit grayscale tiff image that I need to read in C#. For that purpose, I use the libtiff.NET library. I tried to follow official tutorials which demonstrate how to read colored images. However, the code in the tutorial fails with a…
vatbub
  • 2,713
  • 18
  • 41
0
votes
1 answer

Tiff Editing: How to add text to existing tif file?

I am trying to add some random text to right top corner of the every tif image file. How I can do this using libtif.NET library. Please Help
Mankutimma
  • 103
  • 1
  • 8
0
votes
1 answer

Changing in image colors when crop a tiff file using LibTiff.net

I've used the following code to crop some parts of a Tiff image using LibTiff.net library, but the image colors changed to false or pseudo colors.I also tried to change the photometric tag to other possible parameters like YCBCR or Pallete but the…
Nasser Tahani
  • 725
  • 12
  • 33