Documentation ¶
Overview ¶
Package b64image provides helper functions for manipulating base64 encoded PNG or JPEG images
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Colorize ¶
Colorize adds a color to the transparent background of the original image and returns the result. If color is the zero value, then a random color is applied.
The original must be a base64 encoded image, either JPEG or PNG. The result is a base64 encoded PNG image.
func ColorsEqual ¶
ColorsEqual returns true if both colors are the same
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.