Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CodeVideoRenderer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ def _frame_glow(t: np.ndarray):

# 提升光晕的亮度和饱和度
glow_bright_enhancer = ImageEnhance.Brightness(glow)
glow = glow_bright_enhancer.enhance(1.5)
glow = glow_bright_enhancer.enhance(1.6)
glow_color_enhancer = ImageEnhance.Color(glow)
glow = glow_color_enhancer.enhance(1.2)
glow = glow_color_enhancer.enhance(2)

# 混合原图像与光晕层
soft_glow_img = Image.blend(glow, pil_img, 0.4)
Expand Down
Loading