On 08/01/02 15:14:09, The Purple Tiger <Jon@tigersden.demon.co.uk> wrote:
Hey all, I am running SuSE 8.0 professional [not that it makes much difference for this question].
What I am trying to do: Use a bash script to run several programs to resize some Jpeg images which have .JPG extenstions to 1/5 of their original size, and save the "thumbnail" as filename.jpeg, and then update a small little "index.html" file. Yes, a basic photogallery with clickable links.
What I am having problems with: I don't want to have to go through the directory and convert each file every time. What would be your suggestions to enable it to do "only new pictures" and then build the html file? Also, I would like to have some sort of "Percent Done" display [updated every file that is converted], although realise that may require a lot more work and it isn't essential. There may be slight errors in the script below as I have re-written it, and am in the process of testing it , but you will get the idea of what I am doing with it :-)
Thanks all! --snip-- While back I was doing something similar and found a perl script that does most of what you want. It's called thumbnail.pl. You may find in a search of the web. If your interested and can't find, email me and I send a copy of it to you.
--rickey
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com