Solved

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

Posted on 2004-09-20
7
358 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

739 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