1. A method of generating an image gradient, the method comprising: creating, using a hardware control processor, one-dimensional image data for generating two-dimensional image data using a hardware graphics processor, the one-dimensional image data comprising a single pixel along a first dimension of the two-dimensional digital image and multiple pixels along a second dimension of the two-dimensional digital image, the multiple pixels along the second dimension of the two-dimensional image data comprising an image gradient; storing the one-dimensional image data in a first memory; providing input to the hardware graphics processor, the input comprising an address of a location of the one-dimensional image data in the first memory; and initiating, after the providing of the input to the hardware graphics processor, a one-dimensional stretching operation of the hardware graphics processor based on the one-dimensional image data, the initiating of the one-dimensional stretching operation causing the hardware graphics processor to perform operations comprising: accessing the one-dimensional image data in the first memory; generating, based on the one-dimensional image data, the two-dimensional image data, a dimension length of the two-dimensional image data along the second dimension being equal to a dimension length of the one-dimensional image data along the second dimension, the generated two-dimensional image data comprising multiple pixels along the first dimension for each pixel of the multiple pixels of the one-dimensional image data, each pixel of the multiple pixels of the two-dimensional image data along the first dimension being a copy of the pixel of the one-dimensional image data; and storing the generated two-dimensional image data in a second memory.