How to delay between conversions
Posted: 2008-11-25T12:46:16-07:00
i'm trying to convert an e-book from a .ps file into 100 .png files.
i'm using
what i want to know is, how can i make it pause a few seconds between pictures? the reason i ask is because after i convert the book into images, i want to send it to my psp. and anyone that owns a psp knows that it sorts the pictures by order of creation. even though the converter is converting them in order, it does it so fast that occasionally, page 3 will finish a split second before page 2, so the page order is all messed up on the psp.
if i could make it pause for a second or two between pages, that would clear everything up.
i'm using
Code: Select all
for (( i=1; i <= 100; i++)) {
psselect -q $i book.ps book$i.ps
convert book$i.ps book$i.png
rm -f book$i.ps
}
if i could make it pause for a second or two between pages, that would clear everything up.