@Nullable
    @Override
    public Drawable createDrawable(CloseableImage image) {
      KFImage kfImage = ((CloseableKeyframesImage) image).getImage();
      return new AnimatableKeyframesDrawable(
          new KeyframesDrawableBuilder().withImage(kfImage).build());
    }
Although keyframe files do not have an explicit header, we try to match by looking for a JSON
file start and known mandatory keys.
samples/showcase/src/main/java/com/facebook/fresco/samples/showcase/imageformat/keyframes/KeyframesDecoderExample.java