How to change color of a pic in destination? suppose we have an image with two color(for example: black and white or brown and white) from a URL and want to display this image in our URL with different color. Is there any function in PHP or JavaScript?
Asked
Active
Viewed 58 times
0
-
So the image will only have two colours? – Shubham Apr 09 '12 at 04:14
-
Possible duplicate: http://stackoverflow.com/questions/1548534/php-replace-colour-within-image – Shubham Apr 09 '12 at 04:15
1 Answers
0
Are you referring to using the GD Library?
You can solve this by using a get function from the url
example url . domain.com/index.php?bgcolor=#234218
$bg_color = $_get[bgcolor];

Ray
- 894
- 1
- 6
- 23