Bug 193886 NPE is thrown when preview external CSS style in ppt[1205]
engine/org.eclipse.birt.report.engine.emitter.ppt/src/org/eclipse/birt/report/engine/emitter/ppt/PPTRender.java
}
			}
			if ( !isSvg )
			{
				pptOutput.write( base.encode( imageData ) );
			}
			else
			{
				JPEGTranscoder transcoder = new JPEGTranscoder( );
				transcoder.addTranscodingHint( JPEGTranscoder.KEY_QUALITY,
						new Float( .8 ) );
				
				ByteArrayOutputStream ostream = new ByteArrayOutputStream( );
				TranscoderOutput transOutput = new TranscoderOutput( ostream );
				try
				{
					transcoder.transcode( transInput, transOutput );
				}
				catch ( TranscoderException e )
				{
				}
				
				ostream.flush( );
				
				pptOutput.write( base.encode( ostream.toByteArray( ) ) );
			}
		}
		catch ( IOException ioe )
		{
			logger.log( Level.WARNING, ioe.getMessage( ), ioe );