v04 update 02
This commit is contained in:
parent
677f40fade
commit
0c93d0703b
|
@ -27,7 +27,8 @@ def frame_opt(frame,
|
|||
print(f'PNG质量系数超出范围!无法保存!')
|
||||
sys.exit() # 结束程序
|
||||
|
||||
if (is_resizeFrame): # resize frame
|
||||
if (is_resizeFrame):
|
||||
# 重塑视频帧尺寸
|
||||
w_resize = int(
|
||||
resize_frame[0] * resizeRatio_frame) # 重塑宽度
|
||||
h_resize = int(
|
||||
|
|
Loading…
Reference in New Issue