Bug 146550 Could not insert JPG image to report layout
Description: Could not insert a image whose suffix is JPG(capital) to report layout. Steps to reproduce: 1.Insert a image whose suffix is JPG to report layout, the error message is "The file you selected is not an image.". 2.While when you change the suffix to jpg, it is ok. Expect result: Insert a JPG image correctly.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ImageBuilder.java
import org.eclipse.ui.PlatformUI;
/**
 * Dialog to build the image element.
 */
public class ImageBuilder extends BaseDialog
{
	private static final String[] IMAGE_TYPES = new String[]{
			".bmp",
			".jpg",
			".jpeg",
			".jpe",
			".jfif",
			".gif",
			".png",
			".tif",
			".tiff",
			".ico"
	};
	private static final String[] IMAGE_FILEFILTERS = new String[]{
		"*.bmp;*.jpg;*.jpeg;*.jpe;*.jfif;*.gif;*.png;*.tif;*.tiff;*.ico"
	};
	
	
	private static final String DLG_IMPORT_BUTTON = Messages.getString( "ImageBuilder.Button.Import" ); 
	private static final String DLG_PREVIEW_LABEL = Messages.getString( "ImageBuilder.Button.Preview" ); 
	private static final String DLG_ENTER_URI_LABEL = Messages.getString( "ImageBuilder.Label.EnterUri" ); 
	
	private static final String DLG_ENTER_RESOURCE_FILE_LABEL = Messages.getString( "ImageBuilder.Label.EnterResourceFile" ); 
	private static final String DLG_EMBEDDED_IMAGE_LABEL = Messages.getString( "ImageBuilder.Label.EmbededImage" ); 
	private static final String DLG_URI_LABEL = Messages.getString( "ImageBuilder.Label.URI" );