Software developing and otherwise.
Posted by admin on 1 月 25th, 2009
ただ既存の画像を無加工で吐き出すだけ。
open(IN,"a.jpg"); binmode IN; binmode STDOUT;
print "Content-type: image/jpg\r\n\r\n"; while(my $n = read(IN, my $buf, 1024)){ print $buf; }
close(IN);
You are currently browsing the digital hole blog archives for 1 月, 2009.