Login   Register  
PHP Classes
elePHPant
Icontem

File: guitar.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 8 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");




?>