>     You mention 'manipulate' in this case you probably need this
> to exist on the SVG side.  You can do this by encoding the
> Image into a JPEG or PNG and base64 encoding it and including
> that data as a 'data:' protocol on an image xlink:href.  However
> the entire image will have to be encoded and then decoded to
> make this work.

By manipulate, I mean simple scaling and translation.  Nothing exotic.

The application on which I'm working just draws the SVG polylines on
top of the image.

> > Can someone be so kind as to give me a leg up on this?  I've looked at
> > SVGImageElement and it's ilk but haven't the slightest clue as to how
> > to stuff a BufferedImage or anything similar into them.
>
>     You can't because not surprisingly SVG as a document format
> doesn't handle this concept. . . .

Then what's the point of the SVGImageElement object?

>                         . . . You can just stuff a buffered image
> into a GVT RasterImageNode however it will have no peer in the
> SVG and there are some cases where it may 'go away' because the
> graphics tree is rebuilt from the SVG.

Ah.  This is what I'm already doing and that's exactly the problem I'm
having.

I'd like to either work at the SVG level or the GVT level.  GVT is
fine with me if I can figure out how to change colors of the vector
elements but that seems also to be a dead end.  Or am I again missing
some subtlety of the TextPainter object and its relatives?  There
seems to be no method to manipulate text color.

                                                        spl

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to