The maximum allowed image size is 680x680 pixels (this is library restriction). In application it might be restricted even further.
The only reason for having this restriction is a processing power of the device. Even for this relatively small image it might take up to 300 ms (depending upon device, of course). If decoding time is not an issue for you, we can increase the size and recompile the library, as you wish.