code: public Image createImage() throws BadElementException {
          if (image == null)
              return null;
          byte g4[] = CCITTG4Encoder.compress(image, width + 2 * ws, height + 2 * ws);
          return Image.getInstance(width + 2 * ws, height + 2 * ws, false, Image.CCITTG4, 0, g4, null);
      }
docs: Gets an <CODE>Image</CODE> with the barcode. A successful call to the method <CODE>generate()</CODE>
  before calling this method is required.
  @return the barcode <CODE>Image</CODE>
  @throws BadElementException on error