Quantizer produces a palette for an image.
Quantize appends up to cap(p) - len(p) colors to p and returns the
updated palette suitable for converting m to a paletted image.
Package-Level Functions (total 2)
Draw calls DrawMask with a nil mask.
DrawMask aligns r.Min in dst with sp in src and mp in mask and then replaces the rectangle r
in dst with the result of a Porter-Duff composition. A nil mask is treated as opaque.
Package-Level Variables (only one)
FloydSteinberg is a Drawer that is the Src Op with Floyd-Steinberg error
Package-Level Constants (total 2)
Over specifies ``(src in mask) over dst''.
Src specifies ``src in mask''.
The pages are generated with Goldsv0.2.5. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds.