saison-graphique
clone your own copy | download snapshot

Snapshots | iceberg

Inside this repository

process.sh
text/x-sh

Download raw (446 bytes)

j=1; 
for I in $(seq 1 2739);
    do sed -i -e "s/css\/\([0-9]\)\+.css/css\/${I}.css/" index.html; 
    sed -i -e "s/html\/\([0-9]\)\+.html/html\/${j}.html/" index.html ; 
    if [ ${j} -l 2433 ]; 
    then let j=j+1 ; 
    fi ; 
    wkhtmltoimage --enable-javascript --javascript-delay 2000 --quality 25 http://localhost:80/document/index.html ../process/${I}.png;
    #import -window root ../process/`date "+%d_%H-%M-%S"`_screenshot.png; 
done