I just found a fully implemented example of an animated
bitmap in the 1.2 specification. It does _not_ work with
squiggle 1.7 (binary distribution download). It fails with
the following error:

   SVG Error:
   file:/home/jerzy/work/svg/tests/transition.svg:14
   The attribute "xlink:href" of the element <image> is required

Anyone knows if squiggle (batik) is able to handle animated
bitmap images?

The example:
(http://www.w3.org/TR/2004/WD-SVG12-20041027/animation.html#transition-attributes)

<svg width="100%" height="100%" version="1.2"
     xmlns="http://www.w3.org/2000/svg";
     xmlns:xlink="http://www.w3.org/1999/xlink";>
  <defs>
    <transition id="fadeToRed2s" type="fade" subtype="fadeToColor"
                fadeColor="red" dur="2s"/>
    <transition id="fadeFromRed1s" type="fade" subtype="fadeFromColor"
                fadeColor="red" dur="1s"/>
  </defs>
  <image x="0" y="0" width="100" height="100"
         transIn="fadeFromRed1s" transOut="fadeToRed2s">
    <animate attributeType="XML"
             attributeName="xlink:href"
             begin="0s" dur="60s"
             values="1.jpg;2.jpg;3.jpg;4.jpg"
             fill="freeze"/>
  </image>
</svg>

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

Reply via email to