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

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

From: Chris Lilley <chris@w3.org>
Date: Thu, 15 Jul 2004 17:44:59 +0200
Message-ID: <1342634857.20040715174459@w3.org>
To: Robin Berjon <robin.berjon@expway.fr>
Cc: Klaus Foerster <klaus.foerster@uibk.ac.at>, www-svg@w3.org

On Thursday, July 15, 2004, 2:25:27 PM, Robin wrote:

RB> 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?

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

In addition to adding opacity (ideally by fractional geometric coverage)
don't we need to say what the sampling method is? Otherwise its trivial
to produce content that will give wildly different results.

 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 Member, W3C Technical Architecture Group
Received on Thursday, 15 July 2004 11:45:07 UTC

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