It loads a lot quicker using fopen.. but the image is distorted...
$input = fopen("http://itemdb-rs.runescape.com/2394_graphimg.gif?id=5350&scale=1", "rb");
# read the contents of the file
# will accept files up to 10Mb, but will probably get
# and EOF before that, we have to do it this way because
# filesize isn't designed to work with URLs. sigh.
$image_data = fread($input, 100000000);
fclose($input);
# write the contents to a dummy file
$output = fopen("test.gif", "wb");
fwrite($output, $image_data);
fclose($output);
This frustrates me to no end, that the image takes so long to create... when it instantly loads in my browser