Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/afilini/magicwand-php

MagicWand Tool for PHP
https://github.com/afilini/magicwand-php

Last synced: 1 day ago
JSON representation

MagicWand Tool for PHP

Awesome Lists containing this project

README

        

MagicWand-PHP (Yeah, this code sucks, you should not use it)
=============

MagicWand Tool for PHP

**Requires GD Library**

**USAGE:**
call the magicWand function with the following parameters:

```
magicWand(
@param int x, the x coordinate of starting pixel
@param int y, the y coordinate of starting pixel
@param int tollerance, tollerant percentage. 0 = only exact same color, 1 = all colors
@param resource imageHandle, the handle from any GD creating instance lik imagecreatefrompng
@return bool, return true at the end of the function
)
```