Search found 1 match

by netfish
Thu Sep 16, 2010 11:37 pm
Forum: Challenges Solved
Topic: didactic blue
Replies: 8
Views: 569

Code: Select all

<pre>
<?php
$img = imagecreatefrompng ('http://www.hacker.org/challenge/img/blue.png');
for ($h = 11; $h >= 0; $h--)
{
    for ($w = 0; $w < 33; $w++)
      echo chr (imagecolorat ($img, $w, $h) & 0xFF);
    echo '<br />';
}
?>