I'm new in this list, so I'd like to say hello to everyone,
first.

I am starting to test if I can use SVG and batik (squiggle)
for creating some interactive presentations for a friend.
I'm just starting, but so far, I've found all functionality
I seem to need, which is really exciting!

Right now, I'm trying to find out how to create animations
from bitmap images. Animated GIFs are apparently not
supported, which is not really a problem, because I prefer a
more fine-grained control from within SVG anyway.

I have a series of images (I can create them in whatever
bitmap format is necessary), say 'frame0.png ... frame9.png',
and from reading the SVG specification, I think, I need to
do something like:

<image x="100" y="100" 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>

Squiggle _does_ load the first frame, but then it displays
an error, and I do not get an animation:

   SVG Error:
   access denied (java.io.FilePermission
/home/jerzy/work/svg/tests/frame9.png read)

This is really strange, because all images are in the same
directory, and have exactly the same file permissions.
Changing the order of the filenames in the SVG files dosen't
help... the first one is always displayed correctly.

I'd like to mention, that I had a problem (maybe related?)
when I installed Batik. I'm using the sun-java6-jre package
under Xubuntu 8.10. I also installed the libbatik-java
package, but was unable to run squiggle from there, because
of the following error:

   Java.security.AccessControlException: access denied
(java.net.NetPermission setDefaultAuthenticator)
   etc...

Which (from a long search on Google) seems to be related to
some security settings in Java. But since I didn't touch any
settings there, I don't really understand anything about
that.

Thus, I just downloaded the binary release from the batik
site, and am using that version, which did work fine, so
long...

Now, I'm not sure, if my SVG code is wrong, or I have an
error in my Java installation...

Any help is very appreciated!

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

Reply via email to