Core Concepts
Last updated
Was this helpful?
Last updated
Was this helpful?
Graphics deals with images, which are, in their simplest form, nothing more than two-dimensional arrays of pixels, containing color information for each pixel:
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:
TBA
This example has been taken from The Go image/draw package | The Go Blog