goldengel / exiflibrary

Automatically exported from code.google.com/p/exiflibrary
MIT License
0 stars 0 forks source link

Tiff files are corrupted #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Tiff file saved by library is corrupted
because in TIFFFile.cs in Save method used hard coded ifdoffset 
Probably is better to use TIFFHeader.IFDOffset 

Original issue reported on code.google.com by lupin.de...@gmail.com on 6 Sep 2011 at 11:09

GoogleCodeExporter commented 8 years ago
Can you attach the tiff file for testing?

Thank you

Original comment by oozcitak on 6 Sep 2011 at 12:13

GoogleCodeExporter commented 8 years ago
For me it is correct for any tiff file

For example
var file = ImageFile.FromFile(@"D:\test.tiff");
file.Save(@"D:\test2.tiff");

Original comment by lupin.de...@gmail.com on 6 Sep 2011 at 12:41

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed by r95.

Original comment by oozcitak on 22 Aug 2012 at 12:02