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/src/org/eclipse/birt/report/engine/layout/pdf/PDFImageLM.java
{
	protected final static int DEFAULT_WIDHT = 212000;
	protected final static int DEFAULT_HEIGHT = 130000;
	protected IImageContent image;
	protected int maxWidth;
	protected ContainerArea root;
	public PDFImageLM( PDFLayoutEngineContext context, PDFStackingLM parent,
			IContent content, IReportItemExecutor executor )
	{
		super( context, parent, content, executor );
		init( );
	}
	/**
	 * get intrinsic dimension of image in pixels. Now only support png, bmp,
	 * jpg, gif.
	 * 
	 * @param in
	 * @return
	 * @throws IOException
	 * @throws MalformedURLException
	 * @throws BadElementException
	 */
	protected Dimension getIntrinsicDimension( IImageContent content )
			throws BadElementException, MalformedURLException, IOException
	{
		Image image = null;
		switch ( content.getImageSource( ) )
		{
			case IImageContent.IMAGE_FILE :
				image = Image.getInstance( content.getURI( ) );