stop motion animation on linux

Tim Abell · March 27, 2008

A quick howto…
<ol><li>Take a series of photos on your digital camera.</li><li>Copy them onto your linux box.</li><li>shrink the photos to a more managable size:
mogrify -verbose -resize 600x400 -quality 60% *.JPG</li><li>Preview the animation with animate:
animate -delay 8 *</li><li>Optionally rotate the image to match the exif information from your camera (mine was sideways):
exiftran -ai *</li><li>Convert the jpg files to png:
mogrify -format png *.JPG
</li><li>Create the flash animation from the PNG files:
png2swf -r 15 -o flower2.swf -v -X 399 -Y 600 *.png</li><li>Create an html file to hold the animation containing the following:
<pre><object>
<param name="movie" value="flower2.swf" />
<param name="loop" value="true" />
<param name="quality" value="high" />
<embed src="flower2.swf" width="399" height="600" />
</object>
</pre></li><li>Write a blog article to tell everyone about it ;-)
“history” is a handy command for reviewing your activities for writing up your achievements.
</li></ol>And here it is, providing I’ve kept up with my hosting fees and not been slashodotted:




</embed>

Share: Tweet | LinkedIn
Suggest improvments: page source on github