Last active
May 10, 2016 09:31
-
-
Save Prinzhorn/8af8b7f56d72431f9945552bca06f962 to your computer and use it in GitHub Desktop.
Transloadit extend step
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"steps": { | |
"thumbnails": { | |
"robot": "/video/thumbs", | |
"ffmpeg_stack": "v2.2.3", | |
"use": ":original", | |
"format": "jpg" | |
}, | |
"thumbnails_1080": { | |
"robot": "/image/resize", | |
"use": "thumbnails", | |
"correct_gamma": true, | |
"zoom": false, | |
"format": "jpg", | |
"resize_strategy": "min_fit", | |
"width": 1080, | |
"height": 1080 | |
}, | |
"thumbnails_720": { | |
"robot": "/image/resize", | |
"use": "thumbnails", | |
"correct_gamma": true, | |
"zoom": false, | |
"format": "jpg", | |
"resize_strategy": "min_fit", | |
"width": 720, | |
"height": 720 | |
}, | |
"thumbnails_480": { | |
"robot": "/image/resize", | |
"use": "thumbnails", | |
"correct_gamma": true, | |
"zoom": false, | |
"format": "jpg", | |
"resize_strategy": "min_fit", | |
"width": 480, | |
"height": 480 | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"base_steps": { | |
"resize_thumbnails": { | |
"robot": "/image/resize", | |
"use": "thumbnails", | |
"correct_gamma": true, | |
"zoom": false, | |
"format": "jpg", | |
"resize_strategy": "min_fit" | |
} | |
}, | |
"steps": { | |
"thumbnails": { | |
"robot": "/video/thumbs", | |
"ffmpeg_stack": "v2.2.3", | |
"use": ":original", | |
"format": "jpg" | |
}, | |
"thumbnails_1080": { | |
"extends": "resize_thumbnails", | |
"width": 1080, | |
"height": 1080 | |
}, | |
"thumbnails_720": { | |
"extends": "resize_thumbnails", | |
"width": 720, | |
"height": 720 | |
}, | |
"thumbnails_480": { | |
"extends": "resize_thumbnails", | |
"width": 480, | |
"height": 480 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment