Is there a resolution limit in image resize?

Operations on images are more restricted by the required and available memory than by the file size. The bigger the image is, the more memory it will require in order for it to be manipulated (to be manipulated the relevant libraries usually create a bit map image in the memory so your image will take width*height bytes of memory).

error code: 523