add documentation for image binary encoding