You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-195057 #rb jason.walter, geoffrey.douglas [CL 28801840 by jeremie roy in ue5-main branch]
16 lines
457 B
Python
16 lines
457 B
Python
# Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
from PIL import Image
|
|
|
|
def MakeIcon(folder, output):
|
|
sizes = [256, 48, 32, 24, 16]
|
|
images = []
|
|
for size in sizes:
|
|
print(f"Loading {folder}/icon_{size}x{size}.png")
|
|
image = Image.open(f"{folder}/icon_{size}x{size}.png")
|
|
images.append(image)
|
|
print(f"Creating {output}")
|
|
images[0].save(f"{output}", append_images=images)
|
|
|
|
MakeIcon("LiveLinkHub", "LiveLinkHub.ico")
|