Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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.


Comment on Re: jpeg file to doc or odt conversion
Download Code

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 taking refuge in the Monastery: (9)
As of 2014-07-22 23:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (130 votes), past polls