1. First create a new window, transparent width 1 pixel, high 2 pixels.
2. New layer, select 1 pixel with the Select Rectangle, and then fill the color with the fill tool, which is transparent to the layer.
3. Toolbar "Edit" Define Pattern.
This defines a new fill pattern, which can be filled with some pictures of the picture that needs to be processed.