sync file image data encoding