[Tutor] Image Question, List of Image Colors

2007-01-11 Thread Carlos
Hello, Could someone who is familiar with image manipulation tell me what is the best way to obtain the list of colors inside an image? By best I'm referring to something that gets the job done in the fastest way, because this operation will be repeated a number of times. Thanks for your

Re: [Tutor] Image Question, List of Image Colors

2007-01-11 Thread Kent Johnson
Carlos wrote: Hello, Could someone who is familiar with image manipulation tell me what is the best way to obtain the list of colors inside an image? By best I'm referring to something that gets the job done in the fastest way, because this operation will be repeated a number of times.

Re: [Tutor] Image Question, List of Image Colors

2007-01-11 Thread Carlos
Hello, I'm trying to do what Kent suggested, but I have a little problem, no matter were I put my image or if I use sys.path.append to append the folder were my Image is located it is impossible to open the image. I know that this is a silly question but what is going on? I like to solve

Re: [Tutor] Image Question, List of Image Colors

2007-01-11 Thread Danny Yoo
I'm trying to do what Kent suggested, but I have a little problem, no matter were I put my image or if I use sys.path.append to append the folder were my Image is located it is impossible to open the image. I know that this is a silly question but what is going on? sys.path contains a list

Re: [Tutor] Image Question, List of Image Colors

2007-01-11 Thread Luke Paireepinart
Carlos wrote: Hello, I'm trying to do what Kent suggested, but I have a little problem, no matter were I put my image or if I use sys.path.append to append the folder were my Image is located it is impossible to open the image. I know that this is a silly question but what is going on?

Re: [Tutor] Image Question, List of Image Colors

2007-01-11 Thread Carlos
Hello, Well seems like Danny was right, the backslashes were the problem! This really got an 11 in my frustration meter. Thanks for your help Carlos ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor