PHP Classes

File: guitar.php

Recommend this page to a friend!
  Classes of Diego Feitosa  >  Pic2X  >  guitar.php  >  Download  
File: guitar.php
Role: Example script
Content type: text/plain
Description: Sample
Class: Pic2X
Convert images to the XPM format
Author: By
Last change:
Date: 16 years ago
Size: 232 bytes
 

Contents

Class file image Download
<?php

require_once("pic2x.inc");

$img = new Pic2X("guitar.jpg");

$index = array( "x","o","a","e","u","z","p" );
$img->setCharIndex($index); // set chars to be used to build image
$img->convert();
$img->save("guitar.xpm");




?>

For more information send a message to info at phpclasses dot org.