Search found 3 matches

by raksha
2012-03-14T23:44:42-07:00
Forum: Users
Topic: extracting region of specified color
Replies: 1
Views: 3666

extracting region of specified color

hello everyone.. i want to extract the region of particular color..i am using FRED'S 'locatecolor' script. i try this script on below image: <?php echo shell_exec('sh locatecolors.sh -b "rgb(237,28,36)" -e "rgb(100,50,50)" -m or shape.png cshape.png '); ?> https://lh6.googleusercontent.com ...
by raksha
2012-02-29T03:06:06-07:00
Forum: Users
Topic: running script in php
Replies: 7
Views: 12466

Re: running script in php

thanks for viewing my problem..

i am able to run the huemap script in php without need of cygwin on xampp server
this is the code:

Code: Select all

<?php echo shell_exec("sh hue.sh -h 225,0 -t 50,0 earth.png yearth.png"); ?>
this may help others who wants running script in php. :wink:
by raksha
2012-02-21T05:22:56-07:00
Forum: Users
Topic: running script in php
Replies: 7
Views: 12466

running script in php

hello.. i am working on windows platform. i am successful running huemap script by installing cygwin . now i want to run that script in php using exec command. so my question is can the same huemap script run in php without cygwin? i gone through http://www.imagemagick.org/discourse-server/viewtopic ...