houdini命令行工具iconvert批量转换exr图片为png

import os
import subprocess
L = os.listdir('.')
for name in L:
    if name.endswith('.exr'):
        print("converting ", name, " to png")
        subprocess.call(["iconvert", name, name[:-4]+".png"])
print("done")

你可能感兴趣的:(houdini,python,前端)