Image function works perfectly
You'll get a size error if your a moron and try to upload a HD 1920x1080 screenshot in PNG format. Actually anything bigger than 800x600 as a PNG will probably error out.
That is why JPEG rules the internet as long as you don't need transparency.