How can I convert a .gif to .txt?

Bhavin Patel August 7, 2012
Pinterest Stumbleupon Whatsapp

I’m trying to convert .gif file into .txt, but I can’t. No OCR works for that particular file. It shows errors, no result, etc.

  1. Amit Sinha
    September 2, 2012 at 9:37 am

    with ocr not all images file can be converted to text b'coz it has some drawbacks if you are continuously using ocr software you see that many time the software did not able to differentiate between some characters like e and c, h and l etc

  2. Kaashif Haja
    August 20, 2012 at 1:48 am

    If you have Adobe Reader Pro. You can try using it! You'll have to convert to PDF. In the tools option click on "Recognize text". It'll take few seconds to process. Then You're done, you can highlight the text and then copy and paste in your notepad!

  3. Paul Pruitt
    August 10, 2012 at 2:16 pm

    Register to use DocMorph, a service provided by the US NIH Library:

    http://docmorph.nlm.nih.gov/docmorph/applychecka.asp

    It will "extract text" (do OCR) on GIF images. Your problem might be, as other posters have said, whether your images resolution is good enough. Try this with the free IrfanView (http://www.irfanview.com/).

    1. Open the GIF file in the program.
    2. Click on the Image Menu and then "Resize/Resample".
    3. Click on the "Double" button 2 or 3 times in the lower right of the Window. Also increase the DPI in the lower left to 300. Then hit the OK button.
    4. Log into DocMorph by just entering your E-mail address at http://docmorph.nlm.nih.gov/docmorph/LoginCheckA.asp but only after you have registered.
    5. Choose the "Extract Text" link.
    6. Scroll down to the Choose File button and upload your file.
    7. OCR should take about 15 seconds.

    IrfanView has a free OCR plugin that can be used as well by.
    1. Downloading Kadmos for IrfanView: http://irfanview.info/plugins/kadmos/.
    2. Doing steps 1-3 as above to raise your gif image to 300 DPI.
    3. On the Options menu, choose "Start OCR...(Plugin)"
    4. The text of your GIF image will be highlighted in yellow in the the plugin window that opens up.
    5. On the right side make sure the radio button is on "Machine print" and the dictionaries entries appear and are on English for "languages" and "Additional" and the "Dictionary 1" says "Ispell" which it should by default. You don't need any entry in "Dictionary 2". If you want to OCR other languages, click on the "Help" button for directions to download other dictionaries.
    6. Press your left mouse down and hold it and drag it across the text you want to OCR in your image.
    7. A notebook type application will open up with the extracted text which you can save or copy to your clipboard from choices on its File menu.
    8. If you get gibberish, close out of the plugin and try doubling (or halving your image) size again while keeping the DPI at 300 and then trying again.

  4. Bibek Kunwar
    August 10, 2012 at 1:06 pm

    I think The best will be that rename it

  5. Christ Prateek Xaxa
    August 8, 2012 at 2:08 pm

    Open up Photoshop ... edit the gif files by adding Contrast/Brightness/Hue/B&W/Levels,Curves and Saturation ... Test any three .. you will get amazing result in ocr

  6. C Dockery
    August 8, 2012 at 7:35 am

    It may be that you will not be able to accomplish this task, as most ,gif file do not contain the necessary resolution.

  7. Bruce Epper
    August 8, 2012 at 5:09 am

    Convert the .gif to a .tiff first and retry the scan. I have had better luck running a TIFF file through OCR than any other image format.

  8. Jonas Nordgren
    August 7, 2012 at 9:31 pm

    before putting in an ocr try increasing the contrast, to make the chars stand-out

Ads by Google