From 21011243173c2f6d1f3a3aba0e271a23fcbf0215 Mon Sep 17 00:00:00 2001 From: vaisakh Date: Sun, 8 Sep 2024 16:48:26 +0000 Subject: [PATCH] generated logo and added to pyinstaller --- README.md | 3 +++ generate_penguin_logo.py | 10 +++++++++- logo.ico | Bin 0 -> 2164 bytes 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 logo.ico diff --git a/README.md b/README.md index 0979c4c..69cfedb 100644 --- a/README.md +++ b/README.md @@ -1 +1,4 @@ .\venv\Scripts\activate + + +pyinstaller.exe --onefile --windowed --icon=logo.ico --name aihelper main.py diff --git a/generate_penguin_logo.py b/generate_penguin_logo.py index 7ab1cee..2529965 100644 --- a/generate_penguin_logo.py +++ b/generate_penguin_logo.py @@ -63,7 +63,15 @@ def draw_penguin_logo(width,height): # Optionally resize for final use (e.g., downscale to 200x200 for smaller icons) final_image = image.resize((width, height)) - final_image.save('simple_penguin_logo_high_res_resized.png') + #final_image.save('simple_penguin_logo_high_res_resized.png') + +# disable this after generatin icon + #icon_sizes = [(64,64)] + #final_image.save('logo.ico', sizes=icon_sizes) + + + + return final_image diff --git a/logo.ico b/logo.ico new file mode 100644 index 0000000000000000000000000000000000000000..edabdc8b7ab3e02e4f2ff200844c9bd5a5cbe366 GIT binary patch literal 2164 zcmV-)2#fas0096206;(h0000W0A2_H02TlM0EtjeM-2)Z3IG5A4M|8uQUCw|KmY&$ zKnMl^0063Kaozv`2qj5GK~#90)tg;RRNEEDe>3ti2hkZvK*y*IpuLyN4Oc7JG&DA; z(d0I?jXDnoV+hf4-I;aiG64>jeWS-+$h?nln%g4 zKuXpAln4=$`2QOD$yN`ztO#J+n%6Wx+2wLk zSXf9&NeM+oMdaq@l97=?T3Q+ohl6l9OfVRvtE-EamKJW@xWUbvHwlNsR=Xa(81uuajqvVr;KU?W=*|KGF z{P=MR27^kZV<8j@$;p!^W#!71Rz+w+f1uBZZ(8YS$BrG++1Y8C_+<3-^vLeryRC}w zy_v{o0*}l%PfALXs;V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