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
double x = layoutAreaX2PDF(imageX);
							double y = layoutAreaY2PDF(imageY, image.getHeight());
							
				            PdfTemplate template = cb.createTemplate(new Float(width).floatValue(), new Float(height).floatValue());
				            Graphics2D g2 = template.createGraphics(new Float(width).floatValue(), new Float(height).floatValue());
				            
				            PrintTranscoder prm = new PrintTranscoder();
				            prm.addTranscodingHint( PrintTranscoder.KEY_SCALE_TO_PAGE, new Boolean(true) );
				            prm.transcode(ti, null);
				            PageFormat pg = new PageFormat();
				            Paper pp= new Paper();
				            pp.setSize(width, height);
				            pp.setImageableArea(0, 0, width, height);
				            pg.setPaper(pp); 
				            prm.print(g2, pg, 0); 
				            g2.dispose(); 
	
				            cb.addTemplate(template, new Float(x).floatValue(), new Float(y).floatValue());
						}
						
					} catch (Exception e) {
						e.printStackTrace();
					}
					
				}
			} catch (BadElementException bee)
			{
				logger.log( Level.WARNING, bee.getMessage( ), bee );
			} catch (IOException ioe)
			{