Python 读取 ppm 格式图片 方法一 import imageio img = imageio.imread(r'F:\test\000.ppm') img.shape Out: (30, 30, 3) 方法二 from scipy import misc img = misc