stub in writing pixel data