Processing of magnetic particles by aerosol routes