first getvaluesfromImage