code: public Image createImageWithBarcode(PdfContentByte cb, Color barColor, Color textColor) {
          try {
              return Image.getInstance(createTemplateWithBarcode(cb, barColor, textColor));
          }
          catch (Exception e) {
              throw new ExceptionConverter(e);
          }
      }
docs: Creates an <CODE>Image</CODE> with the barcode.
  @param cb the <CODE>PdfContentByte</CODE> to create the <CODE>Image</CODE>. It
  serves no other use
  @param barColor the color of the bars. It can be <CODE>null</CODE>
  @param textColor the color of the text. It can be <CODE>null</CODE>
  @return the <CODE>Image</CODE>
  @see #placeBarcode(PdfContentByte cb, Color barColor, Color textColor)