PHP Classes

File: doc

Recommend this page to a friend!
  Classes of Nima Nima  >  Adobe Color File Generator  >  doc  >  Download  
File: doc
Role: Documentation
Content type: text/plain
Description: Documentation
Class: Adobe Color File Generator
Generate an Adobe Color file from a list of colors
Author: By
Last change: .
Date: 9 years ago
Size: 914 bytes


Class file image Download
 Adobe Color File (ACO) Generator
 Documentation File

A. How to use:
1. Include "aco.class.php"
2. Create a new class:
    $aco = new acofile("");
3. Add Some Colors to the list, There are 2 ways to do so:
        $aco->add("Color1", 250, 251, 252); //Name, R,G,B
        $aco->add("Color2", 120, 121, 122);
        $aco->add(array("Color1" => array(250, 251, 252), "Color2" => array(120, 121, 122)));
4. acofile is Ready! you can:
    a. Output the file:
    b. Save the file
5. is created successfully and forced to download or saved to disk!

B. References
Please note that these ACO files are version 1, Read more information about ACO files at: