A water saving and energy saving process the continuous production of whole grain flour and whole gluten-free flour is provided. The process includes preconditioning whole-grain or seed with water and uses an energy efficient blanching treatment with saturated steam. The process also provides flour having a bimodal size mixture of material having improved viscosity. The whole grain and whole gluten-free flour can be used to prepare grain products and baked foods.