Fixed BGRA / RGBA conversion in png compression