Reduce image even more
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
d1b84917d9
commit
f734f83546
2
books.py
2
books.py
@ -86,7 +86,7 @@ cover_req = get(
|
|||||||
stream=True,
|
stream=True,
|
||||||
)
|
)
|
||||||
cover_image = Image.open(cover_req.raw)
|
cover_image = Image.open(cover_req.raw)
|
||||||
cover_image.thumbnail((1000, 2000))
|
cover_image.thumbnail((500, 1000))
|
||||||
cover_image.save(f"{OUTPUT_DIR}/cover.png")
|
cover_image.save(f"{OUTPUT_DIR}/cover.png")
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user