Encode and decode image coded with correction librairies