Skip to content

Commit

Permalink
generated logo and added to pyinstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaisakhkm2625 committed Sep 8, 2024
1 parent cbcc588 commit 2101124
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
.\venv\Scripts\activate


pyinstaller.exe --onefile --windowed --icon=logo.ico --name aihelper main.py
10 changes: 9 additions & 1 deletion generate_penguin_logo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Binary file added logo.ico
Binary file not shown.

0 comments on commit 2101124

Please sign in to comment.