Hi all

I would like to be able to get a list of the colors used in an image.  I 
can use GDIPlusX to create the image from file but not sure what to do 
next.  The image will not necessarily be a GIF (for which I have an 
example), so I can't use the image palette and in any event, images 
don't necessarily use all the colors in their associated palette (I think ?)

I am thinking that perhaps I could iterate/scan through the image and 
check the color of each pixel in the image ?  But I can't see a means of 
getting a pixel/point from the xfcImage ....  But this might be slow, so 
I would prefer a more direct approach if there is one.

Any suggestions ?

Thanks

Paul Newton


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to