:internal: basic pixel based functions now working - not fully tested