This is a modified version of dither Go library, made specifically to ease up process of writting bindings with Gopy.
Note If you are looking for Python bindings of dither library, check out dither-go repository.
PixelMapper
type and assosiated with this type functions are privated, as they aren't currently supported by Gopy
(related PR: go-python/gopy#282)- You can't reuse generated
PixelMapper
assosiated functions, because of above limitation - Any function that returnes more that one return value, is either privated or ignored during binding generation
pixelmappers.go
:PixelMapper
type privatedRandomNoiseGrayscale
,RandomNoiseRGB
,Bayer
andPixelMapperFromMatrix
functions privated
dither.go
:Mapper
field inDitherer
struct privated- New
SetBayer
,SetOrdered
,SetRandomGrayscale
,SetRandomRGB
andClearMapper
helper functions
- Make a struct for
*Config
andOffset
functions allowing to return multiple values using only one return value
This repository is licensed under the same terms as the original library, which is licensed under the Mozilla Public License Version 2.0.