On Wed, Dec 17, 2008 at 7:42 PM, Al <news@xxxxxxxxxxxxx> wrote: > If anything can do it, it'll be ImageMagick > > Adam Randall wrote: > >> I'm amazed that this either doesn't exist, or is hard to find. I >> basically am looking for a way to read in an image into PHP, or shell >> out to something on the Linux side, and determine, and see if it has a >> barcode in it or not. If it does, I need to decode the barcode so that >> I can identify the page as a separator page or not. >> >> Basically, what I'm doing is reading in a PDF or TIF which will >> contain multiple pages (probably a lot of pages) and look for a page >> containing a barcode. The barcode will identify the page as a >> separator page which will be used to split the multipage document into >> smaller single or multipage documents. >> >> Has anyone ever heard of anything that might help me in this process? >> >> Adam. >> > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > your best bet would likely be to find an open source OCR package (like http://jocr.sourceforge.net/ ) and shell out to it to do the reading in. One of our clients wrote a .NET app to just this that renames the file with the ocr barcode after which we pick it up and handle the rest hth -- Bastien Cat, the other other white meat