Browse Source

测试

main
hesuicong 2 weeks ago
parent
commit
5f5fe44b6e
  1. 2
      test_load_json.py

2
test_load_json.py

@ -314,7 +314,7 @@ def render_to_texture(meshes, output_image_path): @@ -314,7 +314,7 @@ def render_to_texture(meshes, output_image_path):
# 渲染并保存
vis.capture_screen_image(output_image_path, do_render=True)
text = f"v {version}" # 使用PIL添加文字
text = f"v{version}" # 使用PIL添加文字
try:
image = Image.open(output_image_path)
draw = ImageDraw.Draw(image)

Loading…
Cancel
Save