File help

im thinking of a pretty interesting program to make but first i need to know how to save (or at least acess) image files and tell what color every pixels is, and it needs to be exact, and also if i can save those its a bonus

Thanks in advance