Loading ...
Sorry, an error occurred while loading the content.

js calling from svg not working

Expand Messages
  • amit tripathi
    Hi Helder, I am not sure about security issues but I have tried reproducing the same behavior using Html files as you have suggested.Yes the behavio r is same
    Message 1 of 7 , Feb 18, 2009
    • 0 Attachment
      Hi Helder,
      I am not sure about security issues but I have tried reproducing the
      same behavior using Html files as you have suggested.Yes the behavio
      r is same for botn mozilla and firefox.Since mozilla doesn't require
      ASV so there is no issue calling js from svg but IE require ASV plugin
      to support svg, is causing problem.But there are websites having svg
      and they work fine on IE.So is it the problem of ASV+frames or ASV+
      js?Is there any way out?Should I drop frames with embed tag or obje
      ct?Is there any way out?
      Thanks for your reply.


      [Non-text portions of this message have been removed]
    • Kristien Ooms
      Hi all, Is there a way to convert svg-files into movies like .avi files? I am currently planning a user study about animations on maps, which I created with
      Message 2 of 7 , Feb 19, 2009
      • 0 Attachment
        Hi all,



        Is there a way to convert svg-files into 'movies' like .avi files?



        I am currently planning a user study about animations on maps, which I
        created with svg.

        But the program with which I want to test the users can only read 'movies'.
        As it is a

        reaction time measurement, this recording needs to be very accurate. So
        loading the file and

        pressing 'record' to capture the screen is not a very good option.

        Are there other ways to do this?



        Thanks,

        Kristien



        [Non-text portions of this message have been removed]
      • Andreas Neumann
        so you have animations with SMIL and want to render it to a movie? I remember that the Apache Batik SVGRasterizer has a render flag which allows to set a
        Message 3 of 7 , Feb 19, 2009
        • 0 Attachment
          so you have animations with SMIL and want to render it to a movie?

          I remember that the Apache Batik SVGRasterizer has a render flag
          which allows to set a current time - though when looking at the Batik
          website I can't find the flag/syntax.

          I'd ask your question at the Batik website. I believe you could write
          a small script/shell/batch file which increases the currentTime the
          Batik renderer should use. It would generate a series of still frames
          which you could then be fed into a tool to generate the movie from
          the couple of hundred/thousands? still frames.

          I'd ask Cameron McCormack from the Batik team.

          Andreas

          PS: would be cool to have a movie generator as a tool in the Batik
          project where one could specify a frame-rate and resolution and Batik
          would render the movie ... (would eliminate the need for an
          intermediate shell/batch file)

          --- In svg-developers@yahoogroups.com, "Kristien Ooms"
          <kristien.ooms@...> wrote:
          >
          > Hi all,
          >
          >
          >
          > Is there a way to convert svg-files into 'movies' like .avi files?
          >
          >
          >
          > I am currently planning a user study about animations on maps,
          which I
          > created with svg.
          >
          > But the program with which I want to test the users can only read
          'movies'.
          > As it is a
          >
          > reaction time measurement, this recording needs to be very
          accurate. So
          > loading the file and
          >
          > pressing 'record' to capture the screen is not a very good option.
          >
          > Are there other ways to do this?
          >
          >
          >
          > Thanks,
          >
          > Kristien
          >
          >
          >
          > [Non-text portions of this message have been removed]
          >
        • Helder Magalhães
          Hi Andreas, ... I guess this is still pending as a request for extension [1]. :-| If anyone feels like it would be interesting, consider adding your contact to
          Message 4 of 7 , Feb 19, 2009
          • 0 Attachment
            Hi Andreas,

            > I remember that the Apache Batik SVGRasterizer has a render flag
            > which allows to set a current time - though when looking at the
            > Batik website I can't find the flag/syntax.

            I guess this is still pending as a request for extension [1]. :-|
            If anyone feels like it would be interesting, consider adding your
            contact to the «interest list» (using "Add CC") as the Apache Bugzilla
            isn't apparently configured to allow voting on bugs. ;-)


            > PS: would be cool to have a movie generator as a tool in the Batik
            > project where one could specify a frame-rate and resolution and Batik
            > would render the movie ... (would eliminate the need for an
            > intermediate shell/batch file)

            That would be a cool thing, once the issue is addressed. Not sure
            about the workflow for producing videos from Java, though (but, with
            the help of external libraries, shouldn't be too hard). :-)


            Hope this helps,
            Helder Magalhães


            [1] https://issues.apache.org/bugzilla/show_bug.cgi?id=44654
          • Andreas Neumann
            ah right - it is called snapshotTime: -snapshotTime Specifies the document time that should be seeked to before rasterizing the document. Specifying
            Message 5 of 7 , Feb 19, 2009
            • 0 Attachment
              ah right - it is called snapshotTime:

              -snapshotTime <time>
              Specifies the document time that should be seeked to before
              rasterizing the document. Specifying this option implies
              onload.

              It should be fairly easy to setup a small script that generates a few
              hundreds or thousands calls to batiks svgrasterizer to render away
              during a night or so. (depending on the number of frames you need it
              might also be faster ;-))

              Andreas


              --- In svg-developers@yahoogroups.com, Helder Magalhães
              <helder.magalhaes@...> wrote:
              >
              > Hi Andreas,
              >
              > > I remember that the Apache Batik SVGRasterizer has a render flag
              > > which allows to set a current time - though when looking at the
              > > Batik website I can't find the flag/syntax.
              >
              > I guess this is still pending as a request for extension [1]. :-|
              > If anyone feels like it would be interesting, consider adding your
              > contact to the «interest list» (using "Add CC") as the Apache
              Bugzilla
              > isn't apparently configured to allow voting on bugs. ;-)
              >
              >
              > > PS: would be cool to have a movie generator as a tool in the
              Batik
              > > project where one could specify a frame-rate and resolution and
              Batik
              > > would render the movie ... (would eliminate the need for an
              > > intermediate shell/batch file)
              >
              > That would be a cool thing, once the issue is addressed. Not sure
              > about the workflow for producing videos from Java, though (but, with
              > the help of external libraries, shouldn't be too hard). :-)
              >
              >
              > Hope this helps,
              > Helder Magalhães
              >
              >
              > [1] https://issues.apache.org/bugzilla/show_bug.cgi?id=44654
              >
            • christophestrobbe
              ... movies . ... The only option I can think of is conversion to a video format with screen capture software, e.g. * Camtasia Studio:
              Message 6 of 7 , Feb 19, 2009
              • 0 Attachment
                --- In svg-developers@yahoogroups.com, "Kristien Ooms"
                <kristien.ooms@...> wrote:
                >
                > Hi all,
                >
                >
                >
                > Is there a way to convert svg-files into 'movies' like .avi files?
                >
                > I am currently planning a user study about animations on maps, which I
                > created with svg.
                >
                > But the program with which I want to test the users can only read
                'movies'.
                > As it is a
                > reaction time measurement, this recording needs to be very accurate. So
                > loading the file and
                > pressing 'record' to capture the screen is not a very good option.

                The only option I can think of is conversion to a video format with screen
                capture software, e.g.
                * Camtasia Studio: <http://www.techsmith.com/camtasia.asp>,
                * BB Flashback: <http://www.bbsoftware.co.uk/>,
                * Adobe Captivate: <http://www.adobe.com/products/captivate/>.

                Best regards,

                Christophe Strobbe
              • Helder Magalhães
                ... A quick visit to Tree Builder made me recall Holger Will s SVG2PNG Firefox extension [1] which can apparently be used for this -- one would convert the
                Message 7 of 7 , Mar 2, 2009
                • 0 Attachment
                  > Hi all,
                  >
                  > Is there a way to convert svg-files into 'movies' like .avi files?

                  A quick visit to Tree Builder made me recall Holger Will's SVG2PNG
                  Firefox extension [1] which can apparently be used for this -- one
                  would convert the animation to an animated PNG and probably there's
                  software converting it to video, as IE currently also doesn't support
                  this format (but at least Firefox 3+ and Opera do). I haven't tested
                  the extension, though...

                  Nevertheless, I still find the video capture tip the simplest and
                  cleanest of all. ;-)

                  Good luck,
                  Helder Magalhães

                  [1] http://www.treebuilder.de/default.asp?file=660000.xml
                Your message has been successfully submitted and would be delivered to recipients shortly.