刘宇轩 commited on
Commit
bc342c5
·
1 Parent(s): c46bdbb
Files changed (1) hide show
  1. watermark.py +2 -2
watermark.py CHANGED
@@ -7,10 +7,10 @@ class WatermarkApp:
7
  pass
8
 
9
  def process_image(self, image):
10
- watermark = Image.open('asset/chaojihui-v2.png')
11
  # 获取水印的等比例缩放尺寸
12
  wm_width, wm_height = watermark.size
13
- target_size = 400
14
  alpha = 0.3
15
 
16
  if wm_width > wm_height:
 
7
  pass
8
 
9
  def process_image(self, image):
10
+ watermark = Image.open('asset/zhushe.png')
11
  # 获取水印的等比例缩放尺寸
12
  wm_width, wm_height = watermark.size
13
+ target_size = 600
14
  alpha = 0.3
15
 
16
  if wm_width > wm_height: