Can use Photoshop to change mode of image i.e. how each pixel is represented.
Predominant mode is RGB. Pixels represented by varying degree of intensity of red, green & blue.
Performed via Image -> Mode.
Related Post
Resampling
Posted on by John
Evolution of Adobe Photoshop
Posted on by John
Image Cropping
Posted on by John