Image cleanup and resolution change