image manipulation with php and javascript 2

Hi Experts,

Someone has already kindly pointed me in the right direction with regards to php image library...

But i was wondering whether anyone could suggest a way to build this image with php... based on a user defined colour...

Many thanks in advance
maccaj51Asked:
Who is Participating?
 
Ray PaseurCommented:
Whoa!  Maybe this is the magic tool...
http://php.net/manual/en/function.imagefilter.php
0
 
Ray PaseurCommented:
Could you give us a little more to go on?  What image do you want to build?  Maybe post an image here for us to work with?  Thanks, ~Ray
0
 
maccaj51Author Commented:
Im sorry Ray... I thought i had... Here goes again... Arrow
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Mohamed AbowardaSoftware EngineerCommented:
Check out this library:
http://wideimage.sourceforge.net
0
 
Ray PaseurCommented:
Thanks.  A quick look at that tells me that it has 103 different colors in an un-optimized palette.  Un-optimized is good because we can probably load it directly into an image resource.  What would you like to do with it?
0
 
maccaj51Author Commented:
Hi Ray

Id like to be able to change the blue... My users can login and i would like them to be able to pick a colour and swap it.

Hi Medo337

I'll have a look.. thanks
0
 
Ray PaseurCommented:
Sounds a little like a custom application and for that you might want to hire a professional developer.  But I suggest you leave the question open a little longer and see if anyone has a code example of changing the colors.  The notes are pretty sparse (and academic and old) on some of the PHP image functions which leads me to believe that this library does not get a lot of real-world use.  My first-cut guess is that these two functions may become part of the solution, but that is just a guess.

http://us2.php.net/manual/en/function.imagecolorallocatealpha.php
http://us2.php.net/manual/en/function.imagecolorclosestalpha.php
0
 
maccaj51Author Commented:
Ray - You're a hero!!!!!
0
 
Ray PaseurCommented:
A hero?  Ha!  Thanks for the points and best of luck with it, ~Ray
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.