Simple program to extend repeat patterns.
pextender [input image path] [output image path] [output image height (pixels)] [output image width (pixels)]
Example usage
pextender pattern.jpeg repeatpattern.jpeg 480 980
Image credits: https://www.toptal.com/designers/subtlepatterns/