Image Gradient

This node allows you to select an image and then sample individual pixels from it.

One way to apply this is to use a line of pixels in an image as a colour gradient.