A method for image coding and bildkoder