The suspect in a knife attack that wounded four children and two pensioners in the southeastern French town of Annecy on Thursday was placed in custody, a French local prosecutor said on Saturday.

The town's prosecutor, Lynn Bonnet Mattis, said the suspect was under formal investigation for attempted murder and using a weapon to resist arrest.

The prosecutor added at a news conference that the injured were no longer in a life-threatening condition.

Images broadcast on French television showed the suspect being carried by police officers on a stretcher to a black car waiting at the back door of the police station.

Reuters photos also showed the black car and several police cars leaving the police station.

The suspect, a 31-year-old Syrian refugee, is under investigation for attempted murder, and the prosecutor said there was still no indication that terrorism motivated the attacker.

A video revealed that the suspect shouted "the name of Christ" twice in English while carrying out the attack.