Sorry I'm late - been out most of the day.
This is often caused due to a memory limitation of processing pictures larger that your environment can handle. In some cases you can modify the php.ini to allow more memory use, depending on your host. Its an error because by the time the process gets to that point, its recieving an empty object, due to the process not completing on the step before due to limited memory.