vishwamitra has asked for the wisdom of the Perl Monks concerning the following question:

i have got large amount of jpeg/jpg files which are scanned pages consisting of text. i want to convert them to odt(openoffice writer files) files. Is there any module to do the conversion?I am new to this concept of conversion. Can any one help me please?

Replies are listed 'Best First'.
Re: jpeg file to doc or odt conversion
by Anonymous Monk on Jul 18, 2009 at 06:24 UTC
Re: jpeg file to doc or odt conversion
by mandog (Curate) on Jul 18, 2009 at 22:04 UTC

    Depending on what you want to do with the .jpeg files, (maybe you just want to print them?), you can quickly create an hmtl document w/ bash.

    echo "<head> </head><body>" > index.html ls *.jpeg *.jpg | xargs -i echo "<img src={} width=300>" >> index.html echo "</body>" >> index.html

    The width= attribute scales the images to something that would reasonablely to fit on a page. Omitting the height attribute means you scale w/o distortion.