This commit is contained in:
Stephan Porada 2020-01-22 14:31:52 +01:00
parent c67f1defb8
commit eee6007649

View File

@ -24,7 +24,7 @@ def parse_arguments():
def merge_images(input_dir, output_dir):
os.makedirs(output_dir, exist_ok=True)
os.makedirs(os.path.join(output_dir, 'testfile.txt'))
os.system('touch test.txt')
os.system('ls -v {i}/*.* >> {i}file_list.txt'.format(i=input_dir))
os.system('convert @{i}/file_list.txt {o}/combined.tiff'.format(i=input_dir,
o=output_dir))