Fixed animated gif delay.
[meviz.git] / src / main / java / eu / svjatoslav / meviz / htmlindexer / GifSequenceWriter.java
index c62bc23..8224222 100644 (file)
@@ -37,7 +37,7 @@ public class GifSequenceWriter {
         graphicsControlExtensionNode.setAttribute("disposalMethod", "none");
         graphicsControlExtensionNode.setAttribute("userInputFlag", "FALSE");
         graphicsControlExtensionNode.setAttribute("transparentColorFlag", "FALSE");
-        graphicsControlExtensionNode.setAttribute("delayTime", Integer.toString(delay / 10));
+        graphicsControlExtensionNode.setAttribute("delayTime", Integer.toString(delay ));
         graphicsControlExtensionNode.setAttribute("transparentColorIndex", "0");
 
         IIOMetadataNode commentsNode = getNode(root, "CommentExtensions");