Class OpenGifReader

  • All Implemented Interfaces:
    ImageReader

    public class OpenGifReader
    extends java.lang.Object
    implements ImageReader
    • Constructor Summary

      Constructors 
      Constructor Description
      OpenGifReader()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ImmutableImage read​(byte[] bytes, java.awt.Rectangle rectangle)  
      java.util.List<ImmutableImage> readAll​(byte[] bytes)
      Returns all frames from a GIF.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • OpenGifReader

        public OpenGifReader()
    • Method Detail

      • read

        public ImmutableImage read​(byte[] bytes,
                                   java.awt.Rectangle rectangle)
                            throws java.io.IOException
        Specified by:
        read in interface ImageReader
        Throws:
        java.io.IOException
      • readAll

        public java.util.List<ImmutableImage> readAll​(byte[] bytes)
                                               throws java.io.IOException
        Returns all frames from a GIF.
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object