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

Support GIF Netscape Loop Extension in javax.imageio.ImageWriter

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P5
    • Resolution: Not an Issue
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: