It is possible replace an image color with PHP?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
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?

Post by miguelna » Thu Oct 24, 2002 8:02 am

It is possible replace an image color with PHP?

DoppyNL

Post by 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

Post by 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?

Post Reply

Who is online

Users browsing this forum: phpnoob and 1 guest