docs: public CloseableStaticBitmap decodeJpeg(
        final EncodedImage encodedImage,
        int length,
        QualityInfo qualityInfo,
        ImageDecodeOptions options) {
      CloseableReference<Bitmap> bitmapReference =
          mPlatformDecoder.decodeJPEGFromEncodedImageWithColorSpace(
              encodedImage, options.bitmapConfig, null, length, options.colorSpace);
      try {
        maybeApplyTransformation(options.bitmapTransformation, bitmapReference);
        return new CloseableStaticBitmap(
            bitmapReference,
            qualityInfo,
            encodedImage.getRotationAngle(),
            encodedImage.getExifOrientation());
      } finally {
        bitmapReference.close();
      }
    }