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
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.model.api;
import java.io.File;
import java.util.List;
import org.eclipse.birt.report.model.api.activity.SemanticException;
import org.eclipse.birt.report.model.api.command.ContentException;
import org.eclipse.birt.report.model.api.command.LibraryException;
import org.eclipse.birt.report.model.api.command.NameException;
import org.eclipse.birt.report.model.api.elements.structures.PropertyBinding;
import org.eclipse.birt.report.model.api.metadata.PropertyValueException;
import org.eclipse.birt.report.model.api.util.ElementExportUtil;
import org.eclipse.birt.report.model.core.Module;
import org.eclipse.birt.report.model.elements.Cell;
import org.eclipse.birt.report.model.elements.Library;
import org.eclipse.birt.report.model.util.BaseTestCase;
import org.eclipse.birt.report.model.util.ModelUtil;
import com.ibm.icu.util.ULocale;
/**
 * Tests exporting one element in design file or library file to library file.
 */
public class ElementExporterTest extends BaseTestCase