WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

andrew-nowak/randimg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

randimg

A simple command-line tool that generates random colourful images with customizable text overlays.

Features

  • Generates images with 5 random coloured vertical stripes
  • Adds timestamp and custom text overlay
  • Supports both JPEG and PNG output formats
  • Configurable output filename

Usage

# 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"

Command Line Options

  • -type or -t: Output format (jpg or png, default: jpg)
  • -output or -o: Output filename (default: out.jpg)

Dependencies

  • Go 1.24.1+
  • golang.org/x/image for font rendering

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages