Documentation ¶
Overview ¶
Package imgstr provides to serializing an image, that seamlessly works with Go's built-in "image", "image/color", and "image/draw" packages.
The serialized image is in “IMAGE:<base64-encoded-png>” format.
The usefulness of this serialized format is, if you just output it on the
Go Playground — https://play.golang.org/ — then it will display it as an image (rather than text).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageString ¶
ImageString returns frame serialized image in “IMAGE:<base64-encoded-png>” format.
The usefulness of this serialized format is, if you just output that on the Go Playground — https://play.golang.org/ — then it will display it as an image.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.