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

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