in reply to Reading image file

If as previously suggested you want to OCR an image see ocr, which uses Tesseract and ImageMagick.

Also see How do I post a question effectively?

Martin