setError(null);
try
{
final MasterReport masterReport = getReport();
final Configuration configuration = masterReport.getConfiguration();
final boolean alphaChannel = "true".equals(configuration.getConfigProperty
("org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.AlphaChannel"));
final String mimeType = computeMimeType(configuration);
final float quality = ParserUtil.parseFloat(configuration.getConfigProperty
("org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.Quality"), 0.9f);
final GraphicsOutputProcessor outputProcessor = new GraphicsOutputProcessor
(new StreamGraphicsOutputProcessorMetaData(configuration), masterReport.getResourceManager());