Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lib_base
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sikang
lib_base
Commits
f993cf1b
Commit
f993cf1b
authored
Nov 14, 2019
by
sikang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.starwin.tech/sikang/lib_base
parents
ec18314b
f31d851f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
python/tools/screen_maker.py
+1
-2
No files found.
python/tools/screen_maker.py
View file @
f993cf1b
...
@@ -44,8 +44,7 @@ class ScreenMaker:
...
@@ -44,8 +44,7 @@ class ScreenMaker:
img_top
=
img_top
.
resize
((
700
,
342
),
Image
.
ANTIALIAS
)
img_top
=
img_top
.
resize
((
700
,
342
),
Image
.
ANTIALIAS
)
# logo随机位置
# logo随机位置
new_img
.
paste
(
img_logo
,
(
random
.
randint
(
new_img
.
paste
(
img_logo
,
(
random
.
randint
(
0
,
700
),
logo_h
))
0
,
700
),
logo_h
),
mask
=
img_logo
)
new_img
.
paste
(
img_top
,
(
1080
,
top_h
))
new_img
.
paste
(
img_top
,
(
1080
,
top_h
))
# 字体随机大小
# 字体随机大小
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment