Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 388
  • Last Modified:

VB code to convert tiff images to multi-page tiff files?

Hi everyone...I'm new here and hope someone can help me!

I have a folder that contains about 500 tiff images, each one representing a page of a document.  From this, I need to generate multi-page tiff files that include the entire document in one tiff file.

For example if 001.tif, 002.tif, 003.tif, 004.tif, and 005.tif all belong to the same document, I need to create one multi-page tiff file that combines those 5 tiff files into one 5-page file. Make sense?

I have an Access table that looks like this

FileName      Start Tiff
1234               001.tif
1235               006.tif
1236               013.tif
1237               016.tif
1238               021.tif

So basically.......................
1234.tif would be a multi-page tif generated by combining tiffs 1 to 5
1235.tif would be a multi-page tif generated by combining tiffs 6 to 12
1236.tif would be a multi-page tif generated by combining tiffs 13 to 15
1237.tif would be a multi-page tif generated by combining tiffs 16 to 20
1238.tif would be a multi-page tif generated by combining tiffs 21 to n

I need to either code this myself or find a program that can do this...any ideas?  Any advice you can offer would be very much appreciated...and If you need any more details, please let me know!

Thanks!
crh
0
cdrh277
Asked:
cdrh277
  • 2
  • 2
1 Solution
 
Jaime OlivaresSoftware ArchitectCommented:
0
 
cdrh277Author Commented:
Thanks, jaime.  I've looked at both of those, but neither has the capabilities I need.  I've now assembled all the tiffs for each document into a separate folder, so I have a folder for each document.

Now I want to be able to select the top-level folder that contains all the document sub-folders,a dn create a multi-page tiff out of all the individual tiff files in each folder.  SO I would end up with a multi-page tiff for each document. Make sense?

Anyone know of any other programs or code that might help me?

thanks!
0
 
Jaime OlivaresSoftware ArchitectCommented:
Do you want to create a unique document with all the tiffs in all the folders?
There is a trick. Put all your documents in a zip file using winzip, but DON'T store folder path information, now unzip them in a unique folder and then run the tiff tool to join all them.
0
 
cdrh277Author Commented:
Jaime, what I actually want to do is create one unique document for EACH folder - created from all the files in ONLY that particular folder.  

I have a top-level folder containing hundreds of subfolders. Each folder has several single-page tiff files that I want to combine into a multi-page tiff - so I would end up with a multi-page tiff for each folder.

make sense now?

thanks so much!!!
crh277
0
 
moduloCommented:
PAQed with points refunded (125)

modulo
Community Support Moderator
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now