Is it possible to store additional data in pixels of a binary PNM file so that it can be read as an image (I hope, by any decoder, but specifically using ffmpeg)?
I have a simulation that saves its data as PPM at the moment, and I would like to write more than three values per pixel in the file and still be able to use it as an image (obviously, only the first three / four values will actually affect per image).
In particles, I think that TUPLTYPE PAM should allow me to do this, but I don’t know how to do something that is also a readable image.
user328062
source
share