An open API service indexing awesome lists of open source software.

https://github.com/s/phppalette

A PHP Application that finds out most common colors of an image
https://github.com/s/phppalette

Last synced: about 1 year ago
JSON representation

A PHP Application that finds out most common colors of an image

Awesome Lists containing this project

README

          

PhpPalette
==========

A PHP Application that finds out most common colors of an image.

First, application clones the image to the project folder, then process the data.

Second, new html file that uses app.html in the outputs/templates folder will be generated.

##Installation and Run

```
$ git clone git://github.com/s/PhpPalette.git ~/PhpPalette
$ cd ~/PhpPalette
$ php app.php /path/to/your/photo
```

##Skeletal

Classes: (Core php files)



Palette.php

Exception/

Outputs:



charts : Contains generated views. Generated views will be in the this folder.

data : Contains moved image that will be processed.

logs : Contains log files that contains error logs.

templates : Contains template files that sets up the skeletal.

Assets:



css : Contains css files.

font : Contains font awesome font files.

img : Contains images.

js : Contains javascript codes in order to show popovers.

##Screenshot
![View Screen Shot](https://github.com/s/PhpPalette/blob/master/assets/img/ScreenShot.png?raw=true)