to_image方法 to_image(stream, image_type) 创建形状图像并将其保存到指定格式的流中。 def to_image ( self , stream , image_type ): ... 范围 类型 描......BytesIO imageStream = BytesIO () shape . to_image ( imageStream , ImageType...op = ImageOrPrintOptions () shape . to_image ( "exmaple.png" ...