I am developing a windows application called Barcode Reader and Folder Creator with the use of "OnBarcode.Barcode.BarcodeScanner.dll". I want to read the barcode from the tiff files and create corresponding barcode named folder. In this folder, I want to save the particular image (Barcode Matched page). I have done all the stuff except the Particular image in the folder.
I have done the Barcode reader and folder creation stuff.
But i need help to split and save the tiff image (barcode matched) into appropriate folder.
For eg. in the tiff file has 8 pages.
Page 1 has barcode : ABC101
Page 2 no Barcode
Page 3 has barcode: ABC102
Page 4 no Barcode
Page 5 has barcode: ABC103
Page 6 no Barcode
Page 7 has barcode: ABC104
Page 8 no Barcode
Folder Name : ABC101
In this folder, extract the page 1 from the tiff file and save into that folder.
Folder Name : ABC102
In this folder, extarct the the page 3 from the tiff file and save into that folder.
and vice versa....
Attached is my coding and image file.
Please help me out.