Last post Jul 16, 2009 12:17 AM by sirdneo
Jul 14, 2009 09:27 PM|srnilagiri|LINK
Hope this is the right forum to ask for help.
I want to combine or merge multiple .tif files into a single .tif file in .net
Please point me to any resource/code relating to this. Thanks in advance.
Jul 15, 2009 04:00 AM|sirdneo|LINK
See this artcile:-
Jul 15, 2009 11:19 PM|srnilagiri|LINK
Thanks sirdneo for your reply.
I tried http://www.bobpowell.net/generating_multipage_tiffs.htm and http://www.dotnetmonster.com/Uwe/Forum.aspx/dotnet-csharp/70308/Craete-tiff-Image-Page-by-Page
I am able to merge some of the tif files but most of the files are giving Out of memory exception when I try to read from file using Image.FromFile. Verified the accessibility of the files as mentioned in other posts there is no issue with that.
I tried Image.FromStream as advised in 2nd link but getting some other errors.
Now converting the .tif files to LZW format using IrfanView and then merging using the code in 1st link. It seems ok.
hope this helps for others who are into the same issue.
Jul 16, 2009 12:17 AM|sirdneo|LINK
Thanks srnilagiri for sharing your solution, it will be really helpful for others as well who are having similar issues.