It isn't, that's the problem.
Calibre's image routines call PyQt's image routines and when an image larger than the default buffer size occurs it was getting back to FFF as image size 0x0, which doesn't work.
It's actually
#997 not 977 as I put in the log.