PHP Classes

File: example2.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Nima Nima  >  Adobe Color File Generator  >  example2.php  >  Download  
File: example2.php
Role: Example script
Content type: text/plain
Description: Example File
Class: Adobe Color File Generator
Generate an Adobe Color file from a list of colors
Author: By
Last change: .
Date: 8 years ago
Size: 455 bytes


Class file image Download
* ACO File generator
* Adobe Color File (ACO) Generator Class
* @package Adobe Color File (ACO) Generator Class
* @file example2.php
* This example will create an aco file with 256 colors, starting from black to white!


$aco = new acofile("");
$i=0; $i<=255; $i++)
$aco->add(array("rgb($i, $i, $i)" => array($i, $i, $i)));