W3C home > Mailing lists > Public > www-svg@w3.org > November 2009

Re: Clarifications for <image> and Integration module

From: Alex Danilo <alex@abbra.com>
Date: Sun, 22 Nov 2009 09:38:31 +1100
Message-Id: <7KDHTK.51Z8EYV44GK@abbra.com>
To: Patrick Dengler <patd@microsoft.com>
Cc: "www-svg@w3.org" <www-svg@w3.org>
Hi Patrick,

--Original Message--:
>Hi folks!
>I'm hoping you can help with a few clarifications.
><image>: The Document Structure module states:
>"For a single-channel raster image, the effect is as if the object were converted into a 4-channel RGBA image, where the single channel from the referenced object is used to compute the three color channels and the alpha channel is uniformly set to 1."
>Is it expected that single channel raster images are actually converted in memory to 4 channel, or just that the images can "appear" (have 'the effect').

As long as the result is the same, your in-memory representation doesn't matter.

What that is implying is that if you have an RGBA backing store for example
and you paint a single-channel PNG or similar that the alpha channel bits
will get set.

Remember the backing store, or new background when you go:

<g enable-background="new">...</g>

creates a new transparent black backing store. So if you paint a
single channel image into it, you really do want to set the alpha
on the pixels that get touched.

>Integration: I've been reading on the improvements to the methods by which SVG can be surfaced on the web.  Is this module: 
>expected to be integrated back into 1.1 2nd edition, or is this to be rolled into SVG 2.0?

That looks like a really early work in progress.

If you want to address integration issues, then I would highly recommend
you read this document:


You should take that document as the definitive guide to integration
at the present time.


>Thanks in advanced for any help to clarify these issues.
>Patrick Dengler
>Senior Program Manager
Received on Saturday, 21 November 2009 22:39:23 UTC

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