It is possible replace an image color with PHP?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

miguelna
New php-forum User
New php-forum User
Posts: 15
Joined: Wed Sep 04, 2002 12:53 am

It is possible replace an image color with PHP?

Postby miguelna » Thu Oct 24, 2002 8:02 am

It is possible replace an image color with PHP?

DoppyNL

Postby DoppyNL » Fri Oct 25, 2002 2:16 am

Be more specific with what you want to do.

Greetz Daan

miguelna
New php-forum User
New php-forum User
Posts: 15
Joined: Wed Sep 04, 2002 12:53 am

Postby miguelna » Fri Oct 25, 2002 3:52 am

I have an image (PNG) with two colours (red and blue). I want change these colours automatically.
Example:
If ($variable1 > 20) change colour blue to yellow.

So, I need a function to change an image colour, is possible do that with PHP?


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 5 guests