Hi,
I am trying to use the TiffMerge2Files to merge two TIFFs, Sometimes the two TIFFs are 1 page and say 2 page, when I try to merge a 1 page TIFF with a multipage TIFF, the resulting output file is not valid. If I try 2 x 2 page Tiffs, the result is a 4page multi tiff.
oGdPictureImaging.TiffMerge2Files(@"c:\scan\temp.tif", @"c:\scan\temp2.tif", CurrentFile, TiffCompression.TiffCompressionAUTO);
Where temp.tif is 1 page and temp2.tif is a 2 page tiff.
After further investigation, if temp.tif is 2 pages and temp2 is 1 page it merges correctly. I need it to work for any combination.
TiffMerge2Files not merging a 1 page TIFF and a multi TIFF
-
- Posts: 352
- Joined: Tue Sep 27, 2011 11:47 am
Re: TiffMerge2Files not merging a 1 page TIFF and a multi TI
Hi,
Yes of course this is normal behaviour.
Merge2Files belongs to the group of Multipage Tiff functions, you can see that in the documentation.
If you want to add a one page tiff to a 2 page tiff, you can do that using TiffInsertPageFromFile
https://www.gdpicture.com/guides/gdpicture/v9/html/con ... tring.html
Cheers,
Sami
Yes of course this is normal behaviour.
Merge2Files belongs to the group of Multipage Tiff functions, you can see that in the documentation.
If you want to add a one page tiff to a 2 page tiff, you can do that using TiffInsertPageFromFile
https://www.gdpicture.com/guides/gdpicture/v9/html/con ... tring.html
Cheers,
Sami
Who is online
Users browsing this forum: No registered users and 2 guests