Support setting pixel data via SetPixelFormat