Fixed a bug with asset loader

This commit is contained in:
2024-11-25 23:40:18 -06:00
parent 91caebd385
commit 98f2f3e955
10 changed files with 165 additions and 12 deletions

View File

@ -33,7 +33,6 @@ if not os.path.exists(args.input):
img = Image.open(args.input)
# Normalize the image
# output img.info
hasAlpha = 'transparency' in img.info
# Convert the image to RGB or RGBA mode based on alpha channel