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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.