Core Concepts

Graphics deals with images, which are, in their simplest form, nothing more than two-dimensional arrays of pixels, containing color information for each pixel:

source: ResearchGate

Image

At the core, there are two main interfaces: image.Image and image/draw.Image. One serves as a readable image source, the other is used for drawing:

Color

TBA

Example: Creating a Circular Mask

This example has been taken from The Go image/draw package | The Go Blog

Resources

Libraries

Last updated

Was this helpful?