comparison thesis/comp.pl @ 460:763d13f77e03

merge in laptop changes.
author Robert McIntyre <rlm@mit.edu>
date Thu, 27 Mar 2014 17:57:01 -0400
parents d3c5f9b70574
children f14fa9e5b67f
comparison
equal deleted inserted replaced
459:a86555b02916 460:763d13f77e03
1 #!/bin/perl
2
3 use List::Flatten;
4
5 $target = shift(@ARGV);
6
7 $frames = shift(@ARGV);
8
9 @numbers = split(/,/, $frames);
10 @images = map {sprintf("$target/%07d.png", $_)} @numbers;
11
12
13 $output = $target.".png";
14
15 @imagemagick_command = flat("montage", @images, "-geometry", "+2+2", $output);
16
17 print "@imagemagick_command\n";
18
19 system(@imagemagick_command);