We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 475932d commit 014c652Copy full SHA for 014c652
utilities/__init__.py
utilities/make_ico.py
@@ -0,0 +1,12 @@
1
+from PIL import Image # Pillow library is required
2
+
3
+# Open the existing PNG image
4
+image = Image.open('icon.png') # Replace with your image path
5
6
+# Resize the image to 32x32
7
+icon = image.resize((128, 128), Image.ADAPTIVE)
8
9
+# Save the image as an ICO file
10
+icon.save('app_.ico', format='ICO')
11
12
+print("ICO file created successfully!")
0 commit comments