Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/afilini/magicwand-php
- Owner: afilini
- Created: 2013-08-11T10:39:14.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-10-02T09:41:46.000Z (about 8 years ago)
- Last Synced: 2024-10-12T20:35:27.564Z (about 1 month ago)
- Language: PHP
- Size: 123 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
)
```