TWAIN SCAN to existing Tiff File
Posted: Tue Sep 19, 2017 6:25 pm
Simply trying to save a scanned Tiff image(denoted by ImageID) to an existing Tiff file. Using the code below but definitely missing something.
Any help greatly appreciated.
Code: Select all
oGdPictureImaging.TiffOpenMultiPageForWrite(true); MultiPageID = oGdPictureImaging.TiffCreateMultiPageFromFile(@"C:\Users\someuser\Documents\capture.tif", true); oGdPictureImaging.TiffAddToMultiPageFile(MultiPageID, ImageID); oGdPictureImaging.ReleaseGdPictureImage(ImageID); oGdPictureImaging.TiffCloseMultiPageFile(MultiPageID); oGdPictureImaging.ReleaseGdPictureImage(MultiPageID);