0

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?

Ehsan
  • 2,273
  • 8
  • 36
  • 70

1 Answers1

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