The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
Right, so I'm a voyeur. I like watching Phil (Reaper) work 24/7 on "philvision". Here's your typical philvision frame:
http://io.mine.nu/turbonutter/ stuff/screenshot20020521022709.png (SPACES)
The way I get it, is to reload http://ov.2y.net:8080/ , which take a picture on request. Feh, the software, can be told to reload the image ever X seconds, so I tell it to do that.
The only problem is: The files aren't compressed very well by his software, and if that image takes more than X seconds to load, it screws up the software. So, when I'm lagged for a bit, it screws up. Phil said he can't change the compression, so I used the magic of PHP to run a philvision "proxy":
header ("Content-type: image/jpeg");
$im = @imagecreatefromjpeg ("http://ov.2y.net:8080/index.html");
$date = date("D M dS, H:i:s", time());
$black = imagecolorallocate ($im, 0, 0, 0);
$white = imagecolorallocate ($im, 255, 255, 255);
imagettftext ($im, 9, 0, 100, 280, $white, "verdana", $date);
imageinterlace($im, 1);
imagejpeg($im, "", $q);
?>
This runs on Rar, a box that belongs to me which is currently at Phil's house. It's on his network, so it gets the pictures at 10mb/s, basically intantaneously, and it's an XP2000+, so resources aren't a problem. What it does is:
On request to the page, it requests the image from philvision (at high speed), and loads it into a JPEG image resource in the script. The script then formats a date, and overlays the text onto the image, ACTUALLY AS PART OF THE IMAGE. This isn't a hack, this is just something magical PHP can do. It then interlaces the jpg, compresses it to $q, and outputs it. So, you request a .php file, but what the browser actually gets back is a JPEG image with "image/jpeg" Content-type headers. Cunning, eh? The result, is the same image, but smaller (and slightly worse quality) with a timestamp on it so I can tell if it screws over. To see, go to:
http://ov.2y.net:81/philvision.php?q=
PHP rules.
Speaking of which, I'll turn the webcam back on..
Right, so I'm a voyeur. I like watching Phil (Reaper) work 24/7 on "philvision". Here's your typical philvision frame:
http://io.mine.nu/turbonutter/ stuff/screenshot20020521022709.png (SPACES)
The way I get it, is to reload http://ov.2y.net:8080/ , which take a picture on request. Feh, the software, can be told to reload the image ever X seconds, so I tell it to do that.
The only problem is: The files aren't compressed very well by his software, and if that image takes more than X seconds to load, it screws up the software. So, when I'm lagged for a bit, it screws up. Phil said he can't change the compression, so I used the magic of PHP to run a philvision "proxy":
header ("Content-type: image/jpeg");
$im = @imagecreatefromjpeg ("http://ov.2y.net:8080/index.html");
$date = date("D M dS, H:i:s", time());
$black = imagecolorallocate ($im, 0, 0, 0);
$white = imagecolorallocate ($im, 255, 255, 255);
imagettftext ($im, 9, 0, 100, 280, $white, "verdana", $date);
imageinterlace($im, 1);
imagejpeg($im, "", $q);
?>
This runs on Rar, a box that belongs to me which is currently at Phil's house. It's on his network, so it gets the pictures at 10mb/s, basically intantaneously, and it's an XP2000+, so resources aren't a problem. What it does is:
On request to the page, it requests the image from philvision (at high speed), and loads it into a JPEG image resource in the script. The script then formats a date, and overlays the text onto the image, ACTUALLY AS PART OF THE IMAGE. This isn't a hack, this is just something magical PHP can do. It then interlaces the jpg, compresses it to $q, and outputs it. So, you request a .php file, but what the browser actually gets back is a JPEG image with "image/jpeg" Content-type headers. Cunning, eh? The result, is the same image, but smaller (and slightly worse quality) with a timestamp on it so I can tell if it screws over. To see, go to:
http://ov.2y.net:81/philvision.php?q=
PHP rules.