title: MimeType missing in Base64 encoded url
body: <p>I have requirement to pass an image in json request and I am using javax.Base64 encoder.</p>
  
  <p>I am able to encode the image to Base64 but I found that mime type "<strong>data:image/png;base64</strong>" is missing in generate encoded String.</p>
  
  <p>So, my encoded String looks like below :</p>
  
  <blockquote>
    <p>iVBORw0KGgoAAAANSUhEUgAAAPAAAABQCAAAAAACIqegAAABMEl**********</p>
  </blockquote>
  
  <p>And, here is my simple code which I am trying with junit :</p>
  
  <pre><code>@Test
      public void getBiographicPanel() {
          byte[] image = bacodeGenerator.generateBarocdeImage("12345678");
          System.out.println(Base64.getEncoder().encodeToString(image));
          System.out.println(org.apache.commons.codec.binary.Base64.encodeBase64String(image));
  
          assertNotNull(image);
      }
  </code></pre>
  
  <p>How, is that any way or input parameter present in Base64 API which can we configure to generate Base64 image content with MimeType like below ?</p>
  
  <blockquote>
    <p><strong>data:image/png;base64</strong>,iVBORw0KGgoAAAANS</p>
  </blockquote>