A simple command-line tool that generates random colourful images with customizable text overlays.
- Generates images with 5 random coloured vertical stripes
- Adds timestamp and custom text overlay
- Supports both JPEG and PNG output formats
- Configurable output filename
# Generate a basic image
randimg
# Generate with custom title
randimg "My Custom Title"
# Generate PNG instead of JPEG
randimg -type png "My Image"
# Custom output filename
randimg -output my-image.jpg "Custom Image"-typeor-t: Output format (jpgorpng, default:jpg)-outputor-o: Output filename (default:out.jpg)
- Go 1.24.1+
golang.org/x/imagefor font rendering