Added missing functions in pixels.go

Signed-off-by: Jacky Boen <aqiank@gmail.com>