Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Dir string
Functions ¶
func RandomImage ¶
func RandomImage(i int) interface{}
RandomImage creates a random image. Environment variables supported: GG_IMG_FAST=Y/N to enable fast mode or not GG_IMG_FORMAT=jpg/png to choose the format GG_IMG_FILE_SIZE=10M to set image file size GG_IMG_SIZE=640x320 to set the {width}x{height} of image
func ToPngBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.