@Override
  public AnimatedImage decodeFromByteBuffer(ByteBuffer byteBuffer, ImageDecodeOptions options) {
    return GifImage.createFromByteBuffer(byteBuffer, options);
  }
Creates a {@link GifImage} from a file descriptor containing the image. This will throw if it
fails to create.

@param fileDescriptor the file descriptor containing the image (a copy will be made)
animated-gif/src/main/java/com/facebook/animated/gif/GifImage.java