Cameron McCormack wrote: > As for the above error message, this is because your <image> element > doesn't have an initial @xlink:href attribute value. In SVG Tiny 1.2, > this would be allowed (due to the processing being defined in such > cases), but in SVG 1.1 it is not, and Batik chooses to show an error for > this.
Yes, I understand that. But when I try to provide that attribute, It only loads the first frame, and the it displays the errors mentioned in my first post: >>> SVG Error: >>> access denied (java.io.FilePermission >>> /home/jerzy/work/svg/tests/frame9.png read) > Transitions are not implemented in Batik. Sorry, I didn't check that part in the Batik specs. But I'm not really interested in transitions. I only choose that particular example, because it was the only _full_ example of an animated bitmap I could find so far. I think, I should express more clearly what I need: I have a series of bitmap images, that represent individual frames from an animation. These frames would usually be stitched together into one animated-GIF file, and inserted somewhere into an SVG <image> element. But since Batik doesn't support animated GIFs, and I prefer to have manual control over the elements, I will have to fake the animation inside the SVG file. I suppose (maybe naively), that it should be as easy as changing periodically the value for the xlink:href attribute. But this has not worked for me so far, for the reasons given in the first post. An example: >>> <image width="50" height="50" xlink:href="frame0.png" dur="1s"> >>> <set attributeName="xlink:href" to="frame1.png" dur="1s" /> >>> ... >>> <set attributeName="xlink:href" to="frame9.png" dur="1s" /> >>> </image> Thank you, Cameron, for pointing out the current limitations of Batik. I will keep looking for working examples on the specs and the internet, and try to make them work here! Jerzy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
