Generating Background Images with ImageMagick

Requirements

Generating image

For this purpose imagemagick’s tile option fits our needs. Use the following command:

magick -size {RESOLUTION} tile:{YOUR PATTERN} {OUTPUT FILE}

Resolution should be width x height (for example 1920x1080) and pattern should be a valid image file. It is that simple.