Solved

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

Posted on 2004-09-20
7
360 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

695 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