Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6738539

Support GIF Netscape Loop Extension in javax.imageio.ImageWriter

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P5 P5
    • None
    • 6
    • client-libs

      A DESCRIPTION OF THE REQUEST :
      The only way I know of to make an animated gif loop (it plays once by default) is to add the Netscape loop extension.

      http://members.aol.com/royalef/gifabout.htm#net-extension

      I don't see this defined in http://java.sun.com/javase/6/docs/api/javax/imageio/metadata/doc-files/gif_metadata.html#gif_stream_metadata_format

      JUSTIFICATION :
      Well looping animated gif is used like 10 billion places on the internet and it's been around for more than a dozen years.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I should be able to make an animated gif loop.
      ACTUAL -
      I can't see how to do it in the documentation.

      CUSTOMER SUBMITTED WORKAROUND :
      I'm going to try to make it work using the application extension. However imageio only supports application extension for the image and not the stream and the documentation looks like it's got to be in the stream.

            bae Andrew Brygin
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: