Bug 198624 Some unknow code in Thumbnail after import a preview image
Description: Some unknow code in Thumbnail after import a preview image Build number: 2.2.1.v20070802-0630 Steps to reproduce: 1, New a report 2, Import preview image(/templates/mailing_labels.gif) in general of Property editor 3, Go to Advanced and check the Thumbnail Expected result: I don't know what the code should be, but must not be the unknown code Actual result: Some unknow code such as BM.....I will attach a screen image to show you.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/ElementExporterTest.java
file.delete( );
		ElementExportUtil.exportElement( labelHandle, libraryFile, false );
		assertTrue( compareFile(
				"ElementExporterTestLibrary_golden_10.xml", "ElementExporterTestLibrary_out_10.xml" ) ); 
	}
	/**
	 * test to export a design handle to a given library file.
	 * 
	 * 
	 * <ul>
	 * <li>1. one sucessful case
	 * <li>2. one design file with template-data-set
	 * <li>3. one design file with template-label that directly resides in body
	 * <li>3. one design file with template-label that resides in the cell slot
	 * </ul>
	 * 
	 * @throws Exception
	 */
	public void testExportDesignToNewLibraryFile( ) throws Exception
	{
		testExportDesignToNewLibraryFile( "ElementExporterTest.xml", 
				"ElementExporterTestLibrary_out_12.xml" ); 
		assertTrue( compareFile( "ElementExporterTestLibrary_golden_12.xml", 
				"ElementExporterTestLibrary_out_12.xml" ) ); 
		String libraryFile = getTempFolder( ) + OUTPUT_FOLDER
				+ "ElementExporterTestLibrary_out_12.xml"; 
		ReportDesignHandle newDesign = sessionHandle.createDesign( );
		ElementFactory factory = newDesign.getElementFactory( );
		
		newDesign.getMasterPages( ).add(