docs: public static String toInlineImage(@javax.annotation.Nonnull final LabeledObject<BufferedImage> img) {
      @javax.annotation.Nonnull final ByteArrayOutputStream b = new ByteArrayOutputStream();
      try {
        ImageIO.write(img.data, "PNG", b);
      } catch (@javax.annotation.Nonnull final RuntimeException e) {
        throw e;
      } catch (@javax.annotation.Nonnull final Exception e) {
        throw new RuntimeException(e);
      }
      final byte[] byteArray = b.toByteArray();
      final String encode = Base64.getEncoder().encodeToString(byteArray);
      return "<img src=\"data:image/png;base64," + encode + "\" alt=\"" + img.label + "\" />";
    }