Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: jpeg file to doc or odt conversion

by mandog (Curate)
on Jul 18, 2009 at 22:04 UTC ( #781384=note: print w/replies, xml ) Need Help??


in reply to jpeg file to doc or odt conversion

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://781384]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2019-05-26 11:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (153 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!