5/4/2023 0 Comments Zoom 2 movie![]() For example, the width might progress like 640 638 638 336 334 334, alternating between 1 and 2 frames for a given quantity. ![]() A dimension's delta / change-per-frame modulates inconsistently.This may result in one or both of the following: The wobbling effect might be caused by the use of math.ceil and evening for new_size. ![]() Possible explanation for wobbling (in your solution) I would be glad to get advice on improving the code. Below is a link to a video where you can compare both options. In my example, there is also a slight wobble, but not as obvious as in the first example. editor as mp import math from PIL import Image import numpy def zoom_in_effect( clip, zoom_ratio = 0.04):
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |