Quite enjoyed this one, not something I do everyday

<?php
	// Set width of image
	$x = 100;
	$y = 30;

	$col = 0;
	$row = 0;
	
	$index = 0; 
	$last = 0;
	
	$string = '';
	
	$trans = array(
				".-" => "a",
                "-..." => "b",
                "-.-." => "c",
                "-.." => "d",
                "." => "e",
                "..-." => "f",
                "--." => "g",
                "...." => "h",
                ".." => "i",
                ".---" => "j",
                "-.-" => "k",
                ".-.." => "l",
                "--" => "m",
                "-." => "n",
                "---" => "o",
                ".--." => "p",
                "--.-" => "q",
                ".-." => "r",
                "..." => "s",
                "-" => "t",
                "..-" => "u",
                "...-" => "v",
                ".--" => "w",
                "-..-" => "x",
                "-.--" => "y",
                "--.." => "z",
                "-----" => "0",
                ".----" => "1",
                "..---" => "2",
                "...--" => "3",
                "....-" => "4",
         "....." => "5",
       "-...." => "6",
        "--..." => "7",
        "---.." => "8",
        "----." => "9"
	);
	// Set image
	$im = imagecreatefrompng("download.png");
	
	// for every row...
	while($row < $y):
		// iterate over cols...
		while($col < $x):
			$rgb = imagecolorat($im, $col, $row);
			
			if($rgb == 1):
				$string .= chr($index - $last);
				$last = $index;
			endif;		
			$index++;
			$col++;
		endwhile;
		// reset col
		$col = 0;
		$row++;
	endwhile;
	
	$chrs = explode(" ",$string);
	
	foreach($chrs as $chr):
		echo $trans[$chr];
	endforeach;
	
?>