if ( baseImage == null )
if ( baseImage == null || targetModule == null ) return null; EmbeddedImage image = new EmbeddedImage( ); Module baseModule = baseImage.getModule( );  if ( baseModule instanceof ReportDesign )
	public static EmbeddedImage newEmbeddedImageFrom(			EmbeddedImageHandle baseImage, ModuleHandle targetModule )			throws LibraryException	{		if ( baseImage == null )			return null;		EmbeddedImage newImage = newEmbeddedImageFrom( baseImage, baseImage				.getName( ), targetModule );		targetModule.rename( newImage );		return newImage;	}