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
ElementExportUtil.exportStructure( embeddedImageHandle, libraryHandle,
				true );
		saveLibrary( );
		assertTrue( compareFile( "ElementExporterTestLibrary_golden_14.xml" ) ); 
	}
	/**
	 * Test 'hasLibrary' method in <code>ModelUtil</code> contains in
	 * exportDesign method in <code>ElementExportUtil</code>.
	 * 
	 * <ul>
	 * <li>test relative path. Report Design and library have the same absolute
	 * path</li>
	 * <li>test relative paht. Report Design and library haven't the same
	 * absolut path</li>
	 * <li>test relative path. Report Design and library have the same absolute
	 * path</li>
	 * <li></li>
	 * </ul>
	 * 
	 * @throws Exception
	 *             if any exception
	 */
	public void testHasLibrary( ) throws Exception
	{
		openDesign( "ModelUtilTest_hasContainLibrary.xml" ); 
		openLibrary( "Containlibrary.xml" );
		try
		{
			ElementExportUtil.exportDesign( designHandle, libraryHandle, true,
					true );