[eluser]CroNiX[/eluser]
If all you are trying to do is retrieve an image from a URL and save it on your local filesystem, I'd use file_get_contents(), and then file_put_contents(). The image library is for manipulation, like cropping, resizing, rotating, watermarking, etc.