mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-02-13 17:00:05 +00:00
Betterer sizes
This commit is contained in:
parent
2af2a36b74
commit
0e2fee8260
|
@ -35,9 +35,9 @@ def generate_thumbnail(file_path, resolution, ext=None):
|
||||||
elif resolution in ["thumb", "thumbnail"]:
|
elif resolution in ["thumb", "thumbnail"]:
|
||||||
res_x, res_y = (400, 400)
|
res_x, res_y = (400, 400)
|
||||||
elif resolution in ["pfp", "profile"]:
|
elif resolution in ["pfp", "profile"]:
|
||||||
res_x, res_y = (200, 200)
|
res_x, res_y = (150, 150)
|
||||||
elif resolution in ["icon", "favicon"]:
|
elif resolution in ["icon", "favicon"]:
|
||||||
res_x, res_y = (25, 25)
|
res_x, res_y = (30, 30)
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue