Location: PHPKode > scripts > Image2Char > image2char/example.php
<?
include ('image2html.class.php');
?>

<html>
<head>
<style>
body{
	font-size: 8px;
	font-family: Courier; /* recommended use of terminal fonts like Courier, Lucida Console, etc */
	font-weight: bold;
}
</style>
</head>
<body>
<?
// parameter is the image that will be converted
$image			= new Image2HTML('ok.png');
// this chars will compose the art
$image->chars	= 'USETHISCHARS';
// place this where you want to show your art
$image->Show();
?>
</body>
</html>
Return current item: Image2Char