Freitag, 8. Oktober 2010

Converting a set of PS files to an animated GIF with ImageMagick

Say you have a series of plots called plot1.ps, plot2.ps, ...
plot99.ps in a directory and you would like to convert them into a
single animated GIF file in this order, because you really can't
figure how to understand what's going on in them otherwise. Let's
rename them first so they'll be properly ordered:
for (( i=1; i<=9; i++ )); do mv plot$i.ps plot0$i.ps; done
and then let convert turn them into an animated GIF with 1s per frame
in one go. The -alpha off command removes any transparency.
convert -delay 100 -loop 0 plot*.ps -alpha off plot_animated.gif

User Status

Du bist nicht angemeldet.

Aktuelle Beiträge

iPhone to linux
gphoto2 --port=usb -R -P copies all images from an...
danielgruen - 2. Feb, 19:46
Alternative
This screws up the bounding box of non-square plots....
danielgruen - 30. Dez, 23:22
MNRAS submission problems...
Matplotlib ps files like to contain Type 3 fonts, which...
danielgruen - 13. Apr, 19:45
PPPOE connection problems
I was facing connection problems after some technical...
danielgruen - 29. Jun, 01:51
Sort products randomly...
http://www.magentocommerce .com/boards/v/viewthread/2 32826/#t331309 nicely...
danielgruen - 1. Feb, 17:29

Links

Suche

 

Status

Online seit 6273 Tagen
Zuletzt aktualisiert: 2. Feb, 19:46

Credits


Multimedia
Profil
Abmelden
Weblog abonnieren