answered 2018-09-07 13:50:11 -0600
This is the limit in the code CV_IO_MAX_IMAGE_PIXELS.
You can try to increase the value.