No additional compiling is required in order to run the sofware (python).
Add ./ to your path in order to run ./spims
.
The software can be invoked using the following formats as specified in the assignment:
./spims -p <file1> -s <file2>
./spims -pdir <dir1> -s <file2>
./spims --pdir <dir1> -s <file2>
./spims -p <file1> -sdir <dir2>
./spims -p <file1> --sdir <dir2>
./spims -pdir <dir1> -sdir <dir2>
./spims --pdir <dir1> --sdir <dir2>
where:
<file1>
is the name of an existing file in JPEG, PNG or GIF fomat without
animation (the "pattern image")<file2>
is the name of an existing file in JPEG, PNG or GIF format
without animation (the "source image")<dir1>
is the name of an existing directory that contains no
no subdirecories and contains only files in JPEG, PNG or GIF format without
animation (the "pattern images")<dir2>
is the name of an existing directory that contains no
subdirecories and contains only files in JPEG, PNG or GIF format without
animation (the "source images")It was discussed with Prof. Clinger on Feb 12 that additional line returns at the end of the execution of the program do not matter.