On May 8, 2007, at 6:29 PM, Aurélio A. Heckert wrote:

The inkscape can have a suport for the OpenRaster format and allow

the OpenRaster name space on the SVG XML.


When we try to change the contrast on a raster image the XML

changes from:

<image xlink:href="img.jpg" />


to this:

<openraster:image>

    <openraster:layers>

        <openraster:brightness-contrast contrast='1.4'/>

        <openraster:layer src='img.jpg'/>

    </openraster:layers>

</openraster:image>


We can use the menu "object > raster > aplay raster changes"

and the OpenRaster block comes to a <svg:image>. It will

help to send the SVG file to other softwares.


Well... the first problem is that SVG only requires software to support PNG, JPEG and SVG, so we really can't have <image> tag linked to anything else and still stay universal.

The second, and larger, problem is that switching from using standard SVG <image> conventions to some custom namespace will make the SVG file non-standard. That is, if we send the SVG over to an arbitrary program that handles SVG, it will not display correctly unless the destructive change back to <image> has taken place.

To balance that we could just have the linked <image> updated whenever the openraster parts are updated, but that looses a bit.