From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Subject: Re: Converting .gif to .txt Date: Fri, 10 Feb 2006 14:46:18 +0800 Message-ID: <20060210144618.131216f9@localhost.localdomain> References: <380-2200624964217314@M2W030.mail2web.com> <43EAF88C.60704@arrakis.es> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <43EAF88C.60704@arrakis.es> Sender: linux-newbie-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-newbie@vger.kernel.org On Thu, 09 Feb 2006 09:08:44 +0100 Andrew wrote: > heisspf@skyinet.net wrote: > > >Hi, > > > >How can one convert a text document which has been scanned and therefore > >has become a > >.gif file back to a .txt file in order that one can copy and paste text > >from it. > > > >I was told it can be done with some software in windows. Is there such > >software in > >Linux? > > > > > I've done this sort of thing under Windows using Optical Character > Recognition software bundled with a scanner. There are OCR programs > available for Linux (I think there's something called clara - not sure > now), but they take rather a lot of work (or did when I looked at them a > year or so ago). > > >I was able to convert a .gif file in question to .pdf and open it with > >acroread. Acroread has an option to convert to text, however, trying to do > >it I get an empty file. > > > > > If you can convert to pdf, it is possible to cut and paste from xpdf to > certain editors (Open Office, gedit. Not abiword), but results are > hardly perfect and will probably need quite a bit of editing). Yes that seems to work when apparently the file was written as pdf, however, not with a file converted from gif to pdf. I did this conversion with xpaint and I think all it does changing the suffix. Opening it with mc the pdf looks the same as the gif file. Thanks for all the information. Peter > Andrew > -- Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs