code: public void drawImage(int x, int y, BufferedImage image, boolean opaque, boolean invert) {
          drawBitmap(x, y, convertToBitmap(image, invert), opaque);
      }
docs: Draws an image. The image is grayscalled before drawing.
  
  @param x
  @param y
  @param image an image to draw
  @param opaque if true, 0 - bits is drawn in background color, if false -
  the color of corresponding pixel doesn't change
  @param invert true to make dark pixels of the image be drawn as bright
  pixels on screen