@Override
  public AnimatedImage decodeFromNativeMemory(
      long nativePtr, int sizeInBytes, ImageDecodeOptions options) {
    return GifImage.createFromNativeMemory(nativePtr, sizeInBytes, 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