Solved

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

Posted on 2004-09-20
7
340 Views
Last Modified: 2009-12-16
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
Comment
Question by:cdrh277
  • 2
  • 2
7 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 12104710
0
 

Author Comment

by:cdrh277
ID: 12113134
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
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 12113201
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
 

Author Comment

by:cdrh277
ID: 12114334
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
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12642504
PAQed with points refunded (125)

modulo
Community Support Moderator
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now