Adding missing header information in tiff files
-
I have a requirement to convert tiff files to pdf. But the problem is, for some tiff files, the header information is missing. If I opened this tiff files using IrfanView and save it again(I mean overwrite the file in the same location), the header information is automatically added. Is there any way which I can open those tiff files and save it again (as I done manually using Irfanview) programmatically using C#? Please provide any solution. Thanks meeram395.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
-
I have a requirement to convert tiff files to pdf. But the problem is, for some tiff files, the header information is missing. If I opened this tiff files using IrfanView and save it again(I mean overwrite the file in the same location), the header information is automatically added. Is there any way which I can open those tiff files and save it again (as I done manually using Irfanview) programmatically using C#? Please provide any solution. Thanks meeram395.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
There's a fairly detailed explanation here[^] on writing out a TIFF file.
Forgive your enemies - it messes with their heads
My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility
-
I have a requirement to convert tiff files to pdf. But the problem is, for some tiff files, the header information is missing. If I opened this tiff files using IrfanView and save it again(I mean overwrite the file in the same location), the header information is automatically added. Is there any way which I can open those tiff files and save it again (as I done manually using Irfanview) programmatically using C#? Please provide any solution. Thanks meeram395.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.