PHP Classes
elePHPant
Icontem

PHP Avatar Stylizer: Detect predominant colors on avatar images

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-10-13 (29 days ago) RSS 2.0 feedNot yet rated by the usersTotal: Not yet counted Not yet ranked
Version License PHP version Categories
phpavatarstylizer 1.0.0GNU General Publi...5PHP 5, Graphics
Description Author

This class can detect predominant colors on avatar images.

It can take the path of a image file and detects what is the predominant color.

The class can also return the color that would contrast better when writing text on the top of the avatar image.

  Performance   Level  
Name: Luciano Salvino <contact>
Classes: 10 packages by
Country: Argentina Argentina
Innovation award
Innovation award
Nominee: 7x

Details
{
    "name": "lutian/PHPAvatarStylizer",
    "version": "1.0.0",
    "type": "library",
    "description": "Define automatically background color and text color depends on avatar predominant color",
    "keywords": ["lutian", "PHPAvatarStylizer", "text processing"],
    "homepage": "https://github.com/lutian/PHPAvatarStylizer.git",
    "license": "MIT",
    "authors": [
        {
            "name": "Luciano Salvino",
            "email": "lsalvino@hotmail.com",
            "homepage": "http://getwayto.me"
        }
    ],
    "require": {
        "php": ">=5.4.0"
    },
    "autoload": {
        "psr-4": { "Lutian\\PHPAvatarStylizer\\": "/" }
    }
}
Screenshots  
  • Demo2
  • Demo1
  • Demo
  Files folder image Files  
File Role Description
Files folder imageimages (3 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Image file demo.JPG Icon Icon image
Accessible without login Plain text file demo.php Example Example script
Accessible without login Image file demo1.jpg Icon Icon image
Accessible without login Plain text file demo1.php Example Example script
Accessible without login Image file demo2.JPG Icon Icon image
Accessible without login Plain text file demo2.php Example Example script
Plain text file PHPAvatarStylizer.php Class Class source
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  images  
File Role Description
  Accessible without login Image file avatarDemo.jpg Data Auxiliary data
  Accessible without login Image file avatarDemo1.jpg Data Auxiliary data
  Accessible without login Image file avatarDemo2.png Icon Icon image

 Version Control Unique User Downloads  
 80%
Total:0
This week:0