Added support for sending a pixel structure