All pastes #896290 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-02-08 15:01 UTC
rendered paste body
#!/bin/bash
FIXE=250
TRANSITION=50
IMAGE=10

textedesimages ()
{
  read image1
  read image2
  read image3
  read image4
  read image5
  read image6
  read image7
  read image8
  read image9
  read image10
  read image11
} 

textedesimages <<ENREG001
Sébastien ANEX - A contre neige
Gaya MAZZONI - White freedom
Emmanuel DARLIX - Mathieu dans les mouchions
Christophe STAGNETTO - Danse avec les séracs
Sébastien FRANCOIS -  Contre jour floconneux
Valentin BAERISWYL - Jour blanc
Nicolas JUTZI - Ombre et neige
Christophe ROBIN POPIEUL - Orange
Lionel BOUFFIER - V Turn 
Sylvain BARNERON - Ambiance cotonneuse

ENREG001

for i in `seq 0 $IMAGE`
do
	for f in `seq 1 $FIXE`
	do
		composite -blend 0 -gravity South  $i.jpg $(($i + 1)).jpg -matte logo$(printf %04d $(($TRANSITION * ($i + 1) + ($i) * $FIXE + $f))).jpg
		convert logo$(printf %04d $(($TRANSITION * ($i + 1) + ($i) * $FIXE + $f))).jpg -fill white -stroke black -font /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf -strokewidth 2 -pointsize 30 -gravity south -annotate 0 "$image$(($i + 1))" logo$(printf %04d $(($TRANSITION * ($i + 1) + ($i) * $FIXE + $f))).jpg
	done
	for f in `seq 1 $TRANSITION`
	do
		composite -blend $(($f * 2)) -gravity South   $(($i + 1)).jpg $i.jpg -matte  logo$(printf %04d $(($f + $i * ($TRANSITION + $FIXE)))).jpg
	done
	
done