File: convert_icons.py

package info (click to toggle)
qttinysa 1.0.2%2Bgit20250424T094920-a2d39d0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,096 kB
  • sloc: python: 3,071; makefile: 9
file content (8 lines) | stat: -rwxr-xr-x 217 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
from PIL import Image

# Open the source image in JPEG format
image = Image.open("tinySA.ico")

# Convert and save the image in PNG format
image.save("tinySA.icns")
print("Image saved successfully in icns format...")