First general solution for exif metadata writting