placeholder-image-generator(p.i.g.) is a command line application that generates placeholder images.
This application can generate images by specifying width, height, format, background color, and text.
$ pig [flags]
$ pig -w 400 -h 300 -f png -t placeholder -c 0x21_3a_70_ff > output.png
-w, --width uint16 image width pixel
-h, --height uint16 image height pixel
-f, --format string image format (default "jpg")
-t, --text string text to be inserted in the image (default "{width}x{height}")
-c, --color uint32 backgournd color code (RGBA) (default 255)
--help help for pig
$ go install github.com/tabo-syu/pig@latest