seuil new method + jpg extraction