This repository has been archived on 2025-12-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
QWeatherReporter/res/icons/convert.py
2021-12-15 21:21:39 +08:00

12 lines
203 B
Python

import os
file_list = []
for i in range(100, 10000):
if os.path.exists(f'{i}.svg'):
file_list.append(i)
for i in file_list:
os.system(f'inkscape -z -e {i}.png -w 256 -h 256 {i}.svg')