I need to save the output from a program I’m making as a picture file. The file format is not really important; I am just looking for something which is easy to work with.
I need to be able to set the colour for each pixel (RGB, or some other type of colour) but I have no need for the alpha channel that some formats can store.
So my question:
What is the easiest picture format to work with? Also, do I need to get a specialized library, or is there someone I can use which is “default”? Any links or tutorials are also greatly appreciated.
Thanks for your time.
Oh, forgot to mention this: Windows XP, service pack 2.