-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rob Dixon wrote: > Chris Parker wrote: >> >> Hello all, >> >> How do I get text out of a tiff image? Scenario is that I have alot of >> directories named (ex. 000, 020, 000) with files inside along the same >> line ( 000.tiff, 034.tiff) and I need to get the date of the >> paper(000.tiff) so I can rename the folder/directory to that date. >> >> I am not having alot of luck searching for this. A pointer to a module >> to use along with some docs would be greatly appreciated. > > Hi Chris > > Image::Info should do what you want. Take a look at: > > http://search.cpan.org/~tels/Image-Info-1.24/lib/Image/Info.pm > > HTH, > > Rob >
This looks promising. Now I see the part on $image_info($file{Comment}). How do I get a date out of this? It is a scanned text document in tiff format. Scenario of what I am trying to do: c:\bla\image_viewer\1070000001\00008\tiff image. I am trying to go from the image_viewer part and recurse down the dir tree to each subdir and inside the sub is the tiff. I need to pull the date out of the tiff image (not the creation date or mod time) and append it to the directory name. I don't have to code with me now, I will post what i have tomorrow. thanks, Chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGAHJifnAfmpxxbc4RAghpAJ9aKmUNTmLkO/hTZwvsgufk+qZiXQCfVtLs Q9wsD0GIuibMAKGBif1vXPo= =mRzZ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/