ppm格式图像的详细介绍
https://blog.csdn.net/gengshenghong/article/details/8648577
如何查看呢?
用ffplay直接播放,ffplay -i a.ppm
用ffmpeg直接转码, ffmpeg -i a.ppm a.bmp
使用python image包,直接转码输出
from PIL import Image
img = Image.open('a.ppm')
img.save('a.bmp')
img.show()