code: public void writeScoreTo(OutputStream os) throws IOException {
  		if (m_jTune!=null) {
  			setTune(m_jTune.getTune());
   		}
  		BufferedImage bufferedImage = new BufferedImage((int)m_dimension.getWidth(), (int)m_dimension.getHeight(), BufferedImage.TYPE_INT_ARGB);
  		Graphics2D bufferedImageGfx = bufferedImage.createGraphics();
  		bufferedImageGfx.setColor(getBackground());//Color.WHITE);
  		bufferedImageGfx.fillRect(0, 0, bufferedImage.getWidth(), bufferedImage.getHeight());
  		drawIn(bufferedImageGfx);
  		ImageIO.write(bufferedImage, "png", os);
  	}
docs: Writes the currently set tune score to a PNG output stream.
  @param os The PNG output stream
  @throws IOException Thrown if the given file cannot be accessed.