On Friday 21 February 2003 9:58 am, Claus Lund wrote:
I'm not sure if this is the right list for this kind of question so please point me in the right direction if it isn't.
The scenario: We have a large archive of documents that have been scanned and stored as GIF or JPEG files. Some are in full color, some are grey-scale and some are black and white. It has now been decided to try using an OCR tool to extract the text from the images in an attempt to make it easier to search and use this source of information. The OCR tools we have been looking at require a black and white or grey-scale TIFF or a PGM or PBM as input. So we need a utillity that can convert all the GIF and JPEG images to one of those formats. And since the archive contains 50,000+ images then it would be highly desireable to find a utillity that can run from the command line so that we can write some script to automate the entire process.
Thanks in advance, Claus
man convert And it should take you about 10 mins to write a script for it. -- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 02/21/03 11:11 + +----------------------------------------------------------------------------+ "The first thing we do, let's kill all the lawyers." - Shakespeare: Henry VI, Part 2, act ii