ecriture in file jpeg