Jump to content

PHP GD -> get color -> print color


ixcese

Recommended Posts

Hello everyone!

 

I need a little help to get functions names from the GD library.

first i want to say i have a little knowledge with GD library like create image with words and etc.

 

So , what i'm trying to do is to take image and than

take the color of the first pixel on the top left than do some function work and than

set this pixel on the top left to another color.

 

now , i know how the algorithm should look like , i just don't know what function i need to use to:

take specific pixel color from the image

set new color for pixel on specific place

 

i'll be glad if you could help me with that ,

regards , Mor.

Link to comment
https://forums.phpfreaks.com/topic/246961-php-gd-get-color-print-color/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.