in reply to Reading img file through URL

What have you tried? What didn't work? After nearly 200 posts, you should really be offering more in a question.

You can grab the image using LWP::UserAgent. You can write the file using open and print after setting binmode on the file handle.