Documentation
¶
Overview ¶
Package gfx converts RGBA images to truecolor half-block cell grids.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeHalfBlock ¶
EncodeHalfBlock maps an image into a cols×rows cell grid. Each cell covers 1×2 image samples (top=bg, bottom=fg) using '▄'. offX/offY are source pixel offsets for panning.
func EncodeHalfBlockFit ¶
EncodeHalfBlockFit encodes with fit mode: cover | contain | stretch.
func SolidImage ¶
SolidImage creates a simple gradient test image.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.