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
}
					while (remainY > 0) {
						if (remainY < img.scaledHeight()) {
							PdfTemplate templateY = cbUnder.createTemplate(width
									- absPosX > img.scaledWidth() ? img
									.scaledWidth() : width - absPosX, remainY);
							templateY.addImage(img, width > img.scaledWidth() ? img
									.scaledWidth() : width - absPosX, 0, 0, img
									.scaledHeight(), 0,
									-(img.scaledHeight() - remainY));
							cbUnder.addTemplate(templateY, x + absPosX, y - height);
							remainY = 0;
						} else {
							cbUnder.addTemplate(template, x + absPosX, y - height
									+ remainY - img.scaledHeight());
							remainY -= img.scaledHeight();
						}
					}
				}
				
				else if ("repeat".equalsIgnoreCase(repeat)) 
				{
					float remainX = width;
					float remainY = height;
					PdfTemplate template = null;