-
-
Notifications
You must be signed in to change notification settings - Fork 314
/
image.json5
19 lines (19 loc) · 877 Bytes
/
image.json5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
width: 600,
height: 300,
outPath: './image.mp4',
defaults: {
transition: null,
duration: 0.2,
},
clips: [
{ layers: [{ type: 'image', path: './assets/pano.jpg' }] },
{ layers: [{ type: 'image', path: './assets/vertical.jpg' }] },
{ layers: [{ type: 'fill-color', color: 'white' }, { type: 'image', path: './assets/pano.jpg', resizeMode: 'contain' }] },
{ layers: [{ type: 'fill-color', color: 'white' }, { type: 'image', path: './assets/vertical.jpg', resizeMode: 'contain' }] },
{ layers: [{ type: 'image', path: './assets/pano.jpg', resizeMode: 'cover' }] },
{ layers: [{ type: 'image', path: './assets/vertical.jpg', resizeMode: 'cover' }] },
{ layers: [{ type: 'image', path: './assets/pano.jpg', resizeMode: 'stretch' }] },
{ layers: [{ type: 'image', path: './assets/vertical.jpg', resizeMode: 'stretch' }] },
],
}