null ) );
new LabelStyleProcessor( fontName, size, bBold, bItalic, cd ) ) );
	private void createImage( OutputStream out )	{		// Create a buffered image		BufferedImage image = new BufferedImage( 600,				400,				BufferedImage.TYPE_INT_RGB );		// Draw the chart in the buffered image		Graphics2D g2d = (Graphics2D) image.getGraphics( );		idr.setProperty( IDeviceRenderer.GRAPHICS_CONTEXT, g2d );		Bounds bo = BoundsImpl.create( 0, 0, 600, 400 );		bo.scale( 72d / idr.getDisplayServer( ).getDpiResolution( ) );		Generator gr = Generator.instance( );		try		{			gr.render( idr, gr.build( idr.getDisplayServer( ),					cm,					bo,					null,					null,					null ) );		}		catch ( ChartException ex )		{			ex.printStackTrace( );		}		g2d.dispose( );		// Output the image		try		{			ImageIO.write( image, "JPEG", out ); //$NON-NLS-1$		}		catch ( IOException io )		{			io.printStackTrace( );		}	}