1 個回答
- 最新
- 最多得票
- 最多評論
0
Hi :)
In image and video, the x,y coordinates are relative to (0,0) from the bottom left of the content.
- (0,0): Bottom Left
- (Pixel of image's horizontal, 0): Bottom Right
- (0, Pixel of image's vertical): Top Left
- (Pixel of image's horizontal, Pixel of image's vertical): Top Right
- (Pixel of image's horizontal / 2, Pixel of image's vertical / 2): Center
The same applies to video. If you want the image to be centered in the video, you can specify the center position for the video in the ImageX and ImageY parameters.
Example) Video Resolution: 1500 x 500
- (0,0): Bottom Left
- (1500, 0): Bottom Right
- (0, 500): Top Left
- (1500, 500): Top Right
- (1500 / 2, 500 / 2) = (750, 250): Center
"ImageX" => 750, "ImageY" => 250
(+ ImageX and ImageY indicate where to put the image in the video.)
已回答 1 年前
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前