Home All Groups Group Topic Archive Search About

Identifying different colors in a picture

Author
24 Jan 2006 1:39 AM
Alejandro Carrascal
Hello,

I have an image in a PictureBox. I would like to create a list of all the
colors shown in the image.  I was thinking reading each pixel in the picture
box and
storing the list of colors I'm finding as I read. Is this the best way to
find the distinct colors that are present in the image?

Thank you!

Alejandro

Author
24 Jan 2006 2:11 AM
Larry Serflaten
"Alejandro Carrascal" <alc***@hotmail.com> wrote

> I have an image in a PictureBox. I would like to create a list of all the
> colors shown in the image.  I was thinking reading each pixel in the picture
> box and
> storing the list of colors I'm finding as I read. Is this the best way to
> find the distinct colors that are present in the image?

You will probably not get an answer to this post because those who
were able to help already answered your earlier post from 2 days ago.
Is there some reason you felt you needed to ask this question a second time?


LFS
Author
26 Jan 2006 2:00 AM
Alejandro Carrascal
Hello,

Something wrong must be happening with the server I use to access the
newsgroup. I have not seen any other responses to my question except your
answer below and another one from Robin.  Could you please forward the
previous answers to my original posting to alc***@hotmail.com

I would really appreciate this. I would like to see what other people have
suggested with respect to my question.

Thank you,

Alejandro


Show quoteHide quote
"Larry Serflaten" <serfla***@usinternet.com> wrote in message
news:%23gJultIIGHA.216@TK2MSFTNGP15.phx.gbl...
>
> "Alejandro Carrascal" <alc***@hotmail.com> wrote
>
>> I have an image in a PictureBox. I would like to create a list of all the
>> colors shown in the image.  I was thinking reading each pixel in the
>> picture
>> box and
>> storing the list of colors I'm finding as I read. Is this the best way to
>> find the distinct colors that are present in the image?
>
> You will probably not get an answer to this post because those who
> were able to help already answered your earlier post from 2 days ago.
> Is there some reason you felt you needed to ask this question a second
> time?
>
>
> LFS
>
>
>
Author
26 Jan 2006 2:11 AM
Alejandro Carrascal
Please disregard my request below. I was able to sync the newsgroup and
retrieve all the responses to my original posting. Sorry about the
misunderstanding.  I can see lots of messages following up on my original
posting!  :)

Regards,

Alejandro


Show quoteHide quote
"Alejandro Carrascal" <alc***@hotmail.com> wrote in message
news:43d82d2b$1_3@x-privat.org...
> Hello,
>
> Something wrong must be happening with the server I use to access the
> newsgroup. I have not seen any other responses to my question except your
> answer below and another one from Robin.  Could you please forward the
> previous answers to my original posting to alc***@hotmail.com
>
> I would really appreciate this. I would like to see what other people have
> suggested with respect to my question.
>
> Thank you,
>
> Alejandro
>
>
> "Larry Serflaten" <serfla***@usinternet.com> wrote in message
> news:%23gJultIIGHA.216@TK2MSFTNGP15.phx.gbl...
>>
>> "Alejandro Carrascal" <alc***@hotmail.com> wrote
>>
>>> I have an image in a PictureBox. I would like to create a list of all
>>> the
>>> colors shown in the image.  I was thinking reading each pixel in the
>>> picture
>>> box and
>>> storing the list of colors I'm finding as I read. Is this the best way
>>> to
>>> find the distinct colors that are present in the image?
>>
>> You will probably not get an answer to this post because those who
>> were able to help already answered your earlier post from 2 days ago.
>> Is there some reason you felt you needed to ask this question a second
>> time?
>>
>>
>> LFS
>>
>>
>>
>
>
Author
26 Jan 2006 2:20 AM
Larry Serflaten
"Alejandro Carrascal" <alc***@hotmail.com> wrote in message news:43d82d2b$1_3@x-privat.org...
> Hello,
>
> Something wrong must be happening with the server I use to access the
> newsgroup. I have not seen any other responses to my question except your
> answer below and another one from Robin.  Could you please forward the
> previous answers to my original posting to alc***@hotmail.com
>
> I would really appreciate this. I would like to see what other people have
> suggested with respect to my question.


All the public newsgroups are archived.  The archive is the first place to look
if you think your question may have been asked before.  It has the answers to
all the questions asked dating back sveral years....

Here is your earlier thread with all the replies:
http://groups.google.com/group/microsoft.public.vb.general.discussion/browse_thread/thread/a5ba6452354958d9/544e246c8a7842ca?lnk=st&q=Alejandro+Carrascal&rnum=3&hl=en#544e246c8a7842ca

(Be sure the entire link is used in your browser)
LFS
Author
24 Jan 2006 2:49 AM
Robin
Alejandro Carrascal wrote:
<snip>

I am not sure why you are asking this question again, I can only assume
you didn't get an answer which you were after.

One possibility I suppose is if you can get the picture into say, jpg
format, then you might be able to access the colour pallet.

I have no idea how to do this.  But at a brief look at the question I
think it is what I would be looking into.

Good luck :-)

--
Robin.
<disclaimer> Not an expert </disclaimer>