In libgdx, how I know to do it is I create a Texture by loading an image into the program, and then create a Sprite using that Texture to render it to the screen.
But, is there a way to dynamically create an image inside the program by specifying the RGB values on a pixel-level and then drawing that to the screen?