Turns out the images must be 16-bit, not 8-bit or they break.