make it cool now

This commit is contained in:
root 2025-01-19 17:53:52 +01:00
parent f23a6e3ac8
commit 4d4567caf0
40 changed files with 504 additions and 611 deletions

View file

@ -0,0 +1,18 @@
from PIL import Image
def main():
print('[+] checking image size')
im = Image.open("banner.png")
#im = Image.open("favicon.png")
width, height = im.size
print('width =',width, 'height=',height)
if width != 240 or height != 60:
print('[-] Banner doesnt have the correct size (240x60)')
return False
else:
print('[+] Banner has the correct size (240x60)')
return True
if __name__ == '__main__':
main()