Working ImageReadr palette swapping