Foaming by preparing of a high internal phase emulsion