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

Issue when changing dpi of a tiff using Bit Miracle libtiff

I am trying to just change the resolution of a tiff image using Bit Miracle libtiff. Below is the code snippet. When I do this, tiff image resolution is changed, but the other tiff parameters are gone and I am unable to open the tiff file. Could you…
ktpg
  • 1
0
votes
0 answers

Reading LZW compressed images using Bitmiracle Libtiff.net

Currently I am trying to utilize libtiff.net library for processing digital Tiff images. but the image that I have is not with standard ones. The image contains 3 samples per pixel. And it is LZW compressed. My question is: how to read the value of…
Programmer2.0
  • 54
  • 1
  • 10
0
votes
1 answer

libtiff.net reading pixel data for image with 4 samples per pixel

currently I am trying to utilize libtiff.net library for processing digital Tiff images. but the image that i have is not with standard ones. the image contains 4 samples per pixel and 10 bit per samples. my question is: how to read the value of…
Omran
  • 551
  • 4
  • 15
  • 25
0
votes
1 answer

Writing a multipaged tif file from memorystream vs filestream?

I am trying to use a LibTiff.Net library and rewriting a merge tool TiffCP api to use memory streams. This library has a Tiff class and by passing a stream to this class, it can merge tiff images into this stream. For testing, I passed on a…
Dexters
  • 2,419
  • 6
  • 37
  • 57
0
votes
1 answer

How to convert colored TIFF image to black and white using BitMiracle.LibTiff.Silverlight.dll

I have a Silverlight application wherein I want to convert colored TIFF image with LZW compression into black and white image with CCITT4 compression.
404
  • 11
  • 4
0
votes
1 answer

Display TIFF_JPEG Compression image on a picture box in C#

Is it possible to display a Tiff image with TIFF_JPEG compression on a picture box using Windows forms? I have used LibTiff.Net to change compression but this increase the size of the image a lot .. since i need the tiff image loaded using…
chuyito_18
  • 33
  • 4
0
votes
1 answer

how can i convert multi page and single page tiff from all compression types to group 4 compression with libtiff.net?

i have hundred of multipage and single page tiffs with all kind of compression and i want to convert them to group 4 with libtiff.net and if possible with TiffCP in c#. i try to do this by "add reference" in Microsoft Visual Studio and using…
Sam.Razavi
  • 37
  • 6
0
votes
1 answer

Byte size of image grow after split and merge of a Tiff file

I am trying to split and merge a multi-page tiff image. The reason I split is to draw annotations at each image level. The code is working fine, however the merged tiff is pretty large compared to source tiff. For example, I have tested with 17…
0
votes
1 answer

How do you convert from CCITT Group 4 to JBIG/JBIG2?

Would it be possible for someone to point me to the general direction on how to convert from CCITT Group4 to JBIG and/or JBIG2 compression? This would be for either single page and multi page tiffs.
kinstephen
  • 721
  • 5
  • 8
0
votes
1 answer

Change Data Type of existing Tiff tag using LibTiff.Net

I'm using the latest version of LibTiff.Net to fix some tiffs to be included in X9.37 files. I have got all the correct tags down, however, there are a couple of them that are DataType 'short' when I need them to be 'long'. Is there a best way to…
AbeyMarquez
  • 625
  • 4
  • 13
0
votes
1 answer

Strong name - Sharpshell / LibTiff

I'm building a shell extension using Sharpshell and LibTiff/Tiff2Pdf. It's a simple dropdown menu in Windows for converting files. In order for the solution to build all assemblies must require a strong name, include the project itself. Anyone know…
0
votes
1 answer

image from imagebox to 32bit floating point tiff file

I would like to copy the pixels of the image from imagebox to a TIFF file. I want to use TIFF tags as well so i'm using LibTiff.Net. I thought that first I use copy the image from imagebox to MemoryStream and then copy memory stream into byte array…
0
votes
1 answer

Split all tiff pages using Libtiff

Using LibTiff, following will get the 2nd page and save as SplitTiffImage_2ndPage.tif. string[] arguments = { @"Sample Data\multipage.tif,1", "SplitTiffImage_2ndPage.tif" }; TiffCP.Program.Main(arguments); How to split all the pages in a…
mrd
  • 2,095
  • 6
  • 23
  • 48
0
votes
1 answer

Change resolution with Bit Miracle's LibTiff.Net

I use Bit Miracle's LibTiff.Net to convert scanned image to tiff file, but I want to save images with 200dpi even that scanned with 300 dpi I found this in the Bit Miracle site sample tif.SetField(TiffTag.XRESOLUTION, img.HorizontalResolution); …
Akrem
  • 5,033
  • 8
  • 37
  • 64
0
votes
1 answer

Repacking TIFF using LibTiff.Net in Silverlight

All I need is to take TIFF file, open it and copy to new file while using G4 compression. So, I took LibTiff.Net and TiffCP utility. Did my best to convert code from TIffCP and here is function I have: public static byte[] ConvertToG4Tiff(byte[]…
katit
  • 17,375
  • 35
  • 128
  • 256
1 2 3
9
10