I have a file with a sequence of NxM unsigned integral values of fixed width - let's even assume they're single bytes - and I would like to "wrap" in some kind of common image file format. Preferably, something usable with popular image viewers; and otherwise with an image editor like GIMP.
What image format would require the minimum amount of conversion work, i.e. be as close as possible to just slapping some small header onto the raw data?
Notes:
- This is a grayscale/intensity image - there are no color channels / interleaved values etc.
- I don't care if the image format is row-major or column-major, i.e. if the image appears transposed relative to the order I wrote the data originally.