Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-09-20
7
Medium Priority
?
368 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

650 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