是否有可能仅从c#客户端写入图像并同时从python服务器读取?

问题描述 投票:-1回答:1

我目前正在从python这样的文件中读取

python服务器端:

from PIL import Image

img1 = Image.open(
        'p1.png')

img1 = img1.resize((224,224))
img1 = img1.convert('RGB')

C#客户端:

System.IO.File.WriteAllBytes("p.png", bytes);
<< >

我目前正在python python服务器端这样读取文件:从PIL导入图像img1 = Image.open('p1.png')img1 = img1.resize((224,224))img1 = img1.convert('RGB ')C#...

c# python-3.x python-imaging-library read-write
1个回答
0
投票
“ see”
© www.soinside.com 2019 - 2024. All rights reserved.