I did some research, is there no way to find out the size of the image if the length function is not specified? It does not look good from what I saw.
http://bytes.com/forum/thread348479.html