2003.01.29 12:53 "tiffcp problems", by Ray Pixley

2003.01.30 01:28 "Re: tiffcp problems", by Peter Montgomery

Ray,

> I have a lot of files to convert and would like to batch convert them similiar to the way tiffcp can be used. Is there a batchable (if that's a word) utility program, perhaps in libtiff, that can be used to fix this "feature"?

I don't know if anything like this exists already.

> Second question: are there libtiff subroutines available that could be used with VBA?

Did you try a Google search? I did. Try "libtiff VB" (without the quotes) and see what comes up. One of the interesting hits was this:

http://www.planet-source-code.com/xq/ASP/txtCodeId.8316/lngWId.1/qx/vb/s cripts/ShowCode.htm

VB and C source for a program to display info on TIFF headers. Sounds like a great starting point. One issue may be that the C DLL it needs is provided in source form only, so you'll need to compile it.

You can also check out this link:

http://remotesensing.org/lists/libtiff_archive/msg00500.html

It is archives from Libtiff's list and asks pretty much the same question you do. In the message's thread, you'll find this message from someone who mentions using the libtiff DLL with VB as is.

http://remotesensing.org/lists/libtiff_archive/msg00509.html

Google - it's your friend. If I can find this much info in two minutes of searching (using the first search that came to mind on a topic I don't care about personally) then you can do the same. I understand the desire to ask folks who probably know the answer because it's easier, but it's always good to search the 'Net yourself first. I wouldn't be surprised if there aren't lots of routines for working with TIFF images and headers in VB, with or without libtiff.

Thanks,
PeterM