added client side pixel format conversion support