Log in

View Full Version : Convert bmp to tif or load bmp in MODI



deepanshuber
05-14-2010, 12:11 PM
Hi i have developed an OCR tool using MODI but now i am able to point to images on diff portions of screens and fetch them as image only in bitmap :banghead: , so can anyone please help me with converting a bmp to tif file in vba or load a bmp to MODI.
I am really going bonkers over this thing......in dire need of help: pray2:

rbrhodes
05-14-2010, 08:39 PM
whats MODI?

mdmackillop
05-17-2010, 04:47 AM
Check out Irfanview. It may have a command line converter you can run from VBA

stanl
05-19-2010, 03:07 AM
Check out Irfanview. It may have a command line converter you can run from VBA

Irfanview can do the trick, or ImageMagic which is freeware and has an activex component. My guess is you would be using MODI to gather 'text' from the bmps you create, and you need the translation to Tif to handle multiple pages. If so you might want to google for eymbcrdcmd.exe - which can translate a tif into XML. I used this to read/translate bar codes and other text from efaxes for contracts sent as PDF.

stanl
05-19-2010, 03:17 AM
P.S. If you have Office 2007 or the Beta or 2010 check out OneNote to handle your OCR.