1. A method to process one or more images, the method comprising: receiving, by a processor executable in a computer system, a first command written for a first color space, wherein the first command explicitly specifies an operation in the first color space; and based at least on the first command, the processor automatically selecting a color space in which an operation associated with the first command is to be processed, said selecting the color space in which an operation associated with the first command is to be processed comprises: based at least on the first command, automatically determining whether or not to perform image processing according to the first command in a second color space.