blob: fd77761cbf94e02771993c39dd4c21add3a100be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/usr/bin/env ruby
BILDROEHRE=File.dirname(__FILE__)
DIR=ARGV[0]
i = 0
while line = STDIN.gets
args = " -f #{DIR}"
args += line.strip.split.join (" -f #{DIR}")
is = i.to_s.rjust(3, "0")
cmd = "#{BILDROEHRE}/merge -F -o mertens-fused-#{is}.jpg #{args}"
STDERR.write "#{cmd}\n"
`#{cmd}`
i += 1
end
|