Convert canvas actions into pixels