Identify the Color of an Image

Monyl mohana2004 at gmail.com
Thu Jul 15 03:13:28 EDT 2010


On Jul 14, 8:51 pm, Gary Herron <gher... at islandtraining.com> wrote:
> On 07/14/2010 05:37 AM, Monyl wrote:
>
> > Hi,
>
> > 1. How can I find thecolorof  animagepresent the webpage?
>
> > 2. How to identify the font type of the selected text present in the
> > content of the web page
>
> > It would be much helpfull, if anyone responds to it ASAP
>
> > Thanks
> > Mohmyda
>
> Please be clearer about what you want.
>
> 1. Animagedoes not "have" acolor, although each pixel in animage
> does have acolor.
>
> 2.  Text in a web page does not (necessarily)  have a font, although the
> display engine will use a font of its choice to render text.  And my
> browser will probably use a different font than yours.

Hi Gary Herron,

1.If I am going to click on a particular image. I will have click
using the co-ordinates of an Image. Can we find the color of the pixel
which lies in that particular co-ordinate where I click.

2.I just want to retrive the attributes of the text as it appears on
the browser. Can I get the font value depending on the browsers.

Hope you understand my problem.



More information about the Python-list mailing list