Bug 160641 Image from Fragments can not be preview
Details: Image from Fragments can not be preview Step: 1.New an image and select "Image file in BIRT resource folder" 2.Select the image that in Fragments. 3.Preview Actual result: The image can not be preview Excepted result: The image can be preview
engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter.java
Object fd = services.getOption( RenderOptionBase.OUTPUT_FILE_NAME );
			File file = null;
			try
			{
				if( fd != null )
				{
					file = new File(fd.toString());
					File parent = file.getParentFile( );
					if ( parent != null && !parent.exists( ) )
					{
						parent.mkdirs( );
					}
					output = new FileOutputStream( file );
				}
			}
			catch( FileNotFoundException fnfe )
			{
				logger.log( Level.WARNING, fnfe.getMessage( ), fnfe );
			}
			
			
			
			
			if( output == null )
			{
				Object value = services.getOption( RenderOptionBase.OUTPUT_STREAM );
				if( value != null && value instanceof OutputStream )
				{
					output = ( OutputStream ) value;
				}