Generating Background Images with ImageMagick
Requirements
- ImageMagick
- Image Pattern
- You can draw it yourself or download one from a website like Subtle Patterns
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.