Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: jpeg file to doc or odt conversion

by mandog (Curate)
on Jul 18, 2009 at 22:04 UTC ( [id://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.