Write animation workshop bash script
-
Bash script -
watch a folder and run the script when a new image file appears -
ask for user input regarding the filename -
ask for user input regarding the setting: -
0: [ abc
] a 1-second video, just the 12 frames of animation. -
1: [ aaa
][abc
] a 2-second video, comprising a 1-sec preroll of the first frame, then the 12-frame animation. -
2: [ abc
][ccc
] a 2-second video, comprising the 12-frame animation, then a 1-sec hold of the last frame. -
3: [ aaa
][abc
][ccc
] a 3-second video, comprising a 1-sec preroll of the first frame, then the 12-frame animation, then a 1-sec hold of the last frame. -
4: Background: using a single 70‹74mm image as input, it is tiled and printed over 12 frames on an A4 image. -
5: Background: using a single A4 image as input, it is scaled, cropped, tiled and printed over 12 frames on an A4 image.
-
-
if user input was 0-3: -
divide the input image into 12 individual images (frames) -
delete unnecessary images -
convert image sequence into a 1-sec video: 0 [ abc
] -
convert image sequence into a 2-sec video: 1 [ aaa
][abc
] -
convert image sequence into a 2-sec video: 2 [ abc
][ccc
] -
convert image sequence into a 3-sec video: 3 [ aaa
][abc
][ccc
] -
tidy up: delete image sequence -
tidy up: move scan and video/background layout into correct folders. -
play video
-
-
if user input was 4 or 5: -
convert 70×74mm background image into a 12-frame tiled A4 image: 4 -
convert A4 background image into a 12-frame tiled A4 image: 5 -
print image
-
-
Edited by Sam Muirhead