W3C home > Mailing lists > Public > www-svg@w3.org > July 2004

Re: [SVG 1.2 draft]: 17.3 Media Interfaces - getPixel()

From: Robin Berjon <robin.berjon@expway.fr>
Date: Thu, 15 Jul 2004 14:25:27 +0200
Message-ID: <40F677B7.40507@expway.fr>
To: Klaus Foerster <klaus.foerster@uibk.ac.at>
Cc: www-svg@w3.org

Klaus Foerster wrote:
> I have a question concerning 17.3 Media Interfaces - getPixel():
> What will be returned by the getPixel(x,y) method on SVGImage?
> Will it be possible to access rgb or alpha channel values of an image?

It returns an SVGColor object. As far as I can tell, that points to a 
css::RGBColor which in turn does not support the alpha value. I might 
have missed something, but if not I would call that a bug.

Robin Berjon
Received on Thursday, 15 July 2004 08:25:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:02 UTC