Generating an image with random noise