Fix pixel format