ari*_*ien 4 python image
我想知道如何使用Python的图像模块将BMP转换为灰度?谢谢
bob*_*nce 5
灰度图像模式为'L'。
'L'
>>> import Image >>> Image.open('input.bmp').convert('L').save('output.bmp')
归档时间:
15 年,5 月 前
查看次数:
1322 次
最近记录: