Re: [PHP] Gradients in PHP GD

2002-07-01 Thread Bogdan Stancescu

Over-complicating it? Yes, I must admit that's true. The problem however 
was not that I didn't understand the question, but that I apparently was 
hostile. For someone extra-sensitive, I think I could've looked like 
that, but I still don't think I was out of line with my original reply, 
which sparked the whole discussion.

And yes, I agree that Are you new to PHP may sound like an insult - 
depending on the person, maybe even more than my reply.

Bogdan

Lazor, Ed wrote:

You guys are over-complicating this.  If you want to help someone and don't
understand their question, just say so.  People asking for help are usually
more than happy to provide additional information or rephrase their
question.

Be careful when using the question, Are you new to PHP?.  It has an
implied, That was an awfully silly question... are you new to PHP?.  Some
may take that as an insult.  Of course, it could be funny as well.  Imagine
responding to Rasmus, Are you new to PHP? ;) hehe


  

-Original Message-
it could be augmented with questions like Are you new to PHP? and, 
in the specific case we've been discussing, Are you trying to create 
a basic gradient or something unusual?, etc.


 

This message is intended for the sole use of the individual and entity to
whom it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law.  If you are
not the intended addressee, nor authorized to receive for the intended
addressee, you are hereby notified that you may not use, copy, disclose or
distribute to anyone the message or any information contained in the
message.  If you have received this message in error, please immediately
advise the sender by reply email and delete the message.  Thank you very
much.   

  






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Gradients in PHP GD

2002-06-30 Thread Joshua Alexander

Well, I'm deeply moved by your concern - I don't think I was either 
hostile or impatient however - I was just stating the obvious and 
implying a question (why isn't it straightforward).

That was my problem with your post--why imply the question, and leave 
it open to interpretation? Why not just ask? Who would mistake a 
direct request for more info as hostile or impatient?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Gradients in PHP GD

2002-06-30 Thread Bogdan Stancescu

The only question I could possibly have asked to leave it open enough to 
all the possibilities was basically the one I asked. That's because 
possible reasons for not writing his own function may have been:
- he wanted a very basic gradient, but he was such a newbie in PHP that 
he didn't know how - I would've been happy to help in this case;
- he needed some strange gradient/shape/mask - in which case someone who 
needed the same kind of thing at a previous date would've been able to 
answer;
- he was pressed for time;
- he was lazy.

Please tell me what would be a question which would leave all these 
answer opportunities open while also being brief and obviously not being 
hostile?

Bogdan

Joshua Alexander wrote:

 Well, I'm deeply moved by your concern - I don't think I was either 
 hostile or impatient however - I was just stating the obvious and 
 implying a question (why isn't it straightforward).


 That was my problem with your post--why imply the question, and leave 
 it open to interpretation? Why not just ask? Who would mistake a 
 direct request for more info as hostile or impatient?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Gradients in PHP GD

2002-06-30 Thread Joshua Alexander

By this point, I am trying to speak generally. Not trying to pick on 
Bogdan specifically, since communication can always be improved.

Please tell me what would be a question which would leave all these 
answer opportunities open while also being brief and obviously not 
being hostile?

Hmm... not sure... how about, I don't have enough info from your 
post to help...  please tell us more about what exactly you are 
having problems with? How does that sound?

That's fairly general, based on a post I saw here recently. Of course 
it could be augmented with questions like Are you new to PHP? and, 
in the specific case we've been discussing, Are you trying to create 
a basic gradient or something unusual?, etc.

-Josh

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Gradients in PHP GD

2002-06-30 Thread Lazor, Ed

You guys are over-complicating this.  If you want to help someone and don't
understand their question, just say so.  People asking for help are usually
more than happy to provide additional information or rephrase their
question.

Be careful when using the question, Are you new to PHP?.  It has an
implied, That was an awfully silly question... are you new to PHP?.  Some
may take that as an insult.  Of course, it could be funny as well.  Imagine
responding to Rasmus, Are you new to PHP? ;) hehe


 -Original Message-
 it could be augmented with questions like Are you new to PHP? and, 
 in the specific case we've been discussing, Are you trying to create 
 a basic gradient or something unusual?, etc.
 

This message is intended for the sole use of the individual and entity to
whom it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law.  If you are
not the intended addressee, nor authorized to receive for the intended
addressee, you are hereby notified that you may not use, copy, disclose or
distribute to anyone the message or any information contained in the
message.  If you have received this message in error, please immediately
advise the sender by reply email and delete the message.  Thank you very
much.   

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Gradients in PHP GD

2002-06-27 Thread Bogdan Stancescu

Yes, it actually would've been should the person who started the thread 
answered (instead of a wise-guy saying That's very helpful - in this 
case, no, it didn't prove to be). That's because that way we would've 
found out what exactly he needed (Of course the change can be only 
across a part of an image.). Or maybe he needs some strange gradients. 
However, when someone says Does anybody have an idea where could I find 
a code library or code snippet to create gradients to images with PHP 
and GD? I personally understand a rectange filled with a horizontal or 
vertical gradient. And that seems pretty straightforward to me.

Anyway, thank you for your input on this thread. THAT was really helpful.

Bogdan

Joshua Alexander wrote:

 That's very helpful.

 I think it's pretty straightforward, why don't you write one?







-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Gradients in PHP GD

2002-06-27 Thread Joshua Alexander

It seems pretty straightforward to me. is more responsible than 
It's pretty straightforward. Nice time to be changing your story ;)

Anyway, thank you for your input on this thread. THAT was really helpful.

It didn't seem straightforward to the original writer, or else why 
the question... I think a more helpful response at that point is to 
ask questions, rather than suggest that the person simply write it.

There seems to be some hostility and impatience here toward new users 
who aren't as familiar with how to ask for help. If this exchange 
prompts anyone to examine themselves and respond (or ask) in more 
gentle ways, I think my input will have definitely been helpful.

-Josh



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Gradients in PHP GD

2002-06-26 Thread Anzak Wolf

I wrote a Color gradient in GD it is actually very simple.  Though you need 
GD 2.x and mine is designed to go from left to right changing the color to 
the center line then changing it back to the edge.  If your interested let 
me know and I'll send you a code snippet.  Though I would like to see 
someone who can show me how to do a gradient oval, I can do it in my image 
editing software so there must be a formula to do it I just need to know 
what it is.

-Jim

Exactly! Of course the change can be only across a part of an image.

Ville

  What do you mean by gradients?  Is it something like a gradual change 
across
  an image, say from black to white?
  Hugh
  - Original Message -
  From: Ville Mattila [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Tuesday, June 25, 2002 10:38 AM
  Subject: [PHP] Gradients in PHP  GD
 
 
   Hello,
  
   Does anybody have an idea where could I find a code library or code
  snippet
   to create gradients to images with PHP and GD?
  
   Thank you,
   Ville Mattila
   Ikaalinen, Finland
  
  
  
   --
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, visit: http://www.php.net/unsub.php
  
 





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Gradients in PHP GD

2002-06-26 Thread Ville Mattila

Yes please, I would appreciate if you send the code snippet. In fact I have rather 
same 
kind of demand for the code. My script should change the color in more than one place 
and 
the distance between the key points varies. But I'm sure I can modify the code to 
meet 
my needs.

Ville


Lainaus Anzak Wolf [EMAIL PROTECTED]:

 I wrote a Color gradient in GD it is actually very simple.  Though you need 
 GD 2.x and mine is designed to go from left to right changing the color to 
 the center line then changing it back to the edge.  If your interested let 
 me know and I'll send you a code snippet.  Though I would like to see 
 someone who can show me how to do a gradient oval, I can do it in my image 
 editing software so there must be a formula to do it I just need to know 
 what it is.
 
 -Jim
 
 Exactly! Of course the change can be only across a part of an image.
 
 Ville
 
   What do you mean by gradients?  Is it something like a gradual change 
 across
   an image, say from black to white?
   Hugh
   - Original Message -
   From: Ville Mattila [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Tuesday, June 25, 2002 10:38 AM
   Subject: [PHP] Gradients in PHP  GD
  
  
Hello,
   
Does anybody have an idea where could I find a code library or code
   snippet
to create gradients to images with PHP and GD?
   
Thank you,
Ville Mattila
Ikaalinen, Finland
   
   
   
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
   
  
 
 
 
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 _
 Send and receive Hotmail on your mobile device: http://mobile.msn.com
 





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Gradients in PHP GD

2002-06-25 Thread Ville Mattila

Exactly! Of course the change can be only across a part of an image.

Ville

 What do you mean by gradients?  Is it something like a gradual change across
 an image, say from black to white?
 Hugh
 - Original Message -
 From: Ville Mattila [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, June 25, 2002 10:38 AM
 Subject: [PHP] Gradients in PHP  GD
 
 
  Hello,
 
  Does anybody have an idea where could I find a code library or code
 snippet
  to create gradients to images with PHP and GD?
 
  Thank you,
  Ville Mattila
  Ikaalinen, Finland
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php