Optimized Texture Scripts futher

This commit is contained in:
Killergnom
2025-04-06 21:56:14 +02:00
parent d03908baab
commit a60ae1c1ea
15 changed files with 383 additions and 342 deletions

View File

@@ -58,8 +58,8 @@ def process_image(args):
output_filename = os.path.splitext(os.path.basename(input_path))[0] + '.tga'
output_path = os.path.join(export_dir, output_filename)
# Save as TGA format with RLE compression
resizedTex.save(output_path, format='TGA', rle=True)
# Save as TGA format
resizedTex.save(output_path, format='TGA')
# Print appropriate message based on whether the file was resized
if was_resized: