1. A method for processing image data, comprising: providing input image data; segmenting the input image data to generate: a background layer representing the background attributes of an image; a selector layer for identifying one or more foreground attributes of the image not included in the background layer; and a foreground layer representing the foreground attributes of the image; generating a text layer comprising pixel data representing text pixels of a particular color in the input image data; assigning the text pixel data a predetermined value for the particular color; integrating the background layer, the selector layer, the foreground layer, and the text layer into a data structure having machine-readable instructions that may be stored in a memory device; and altering one or more layers of the data structure, other than the text layer, based on the text layer pixel data.