Made pixel format into an enum