<div dir="ltr">Hi,<div>I have a Binary field in a GDB data source.</div><div><br></div><div>I have no other metadata about it. I know only that the field name is "image", then it should contain images.</div><div>But I do not know the original file format.</div><div><br></div><div>I have extract one row (and then one field) as string it, using </div><div><br></div><div>ogr2ogr -f CSV /vsistdout/ -fieldTypeToString Binary data.gdb SITI_ARCHEO -where "OBJECTID=277" >out.csv</div><div><br></div><div>And I have a long string as the one below.</div><div>I have tried to use "xxd -r -p" to convert to binary and then use "file" to interpret its file format, but I don't get anything useful.</div><div><br></div><div>How could I do some reverse extraction of these images in their original format?</div><div><br></div><div>Thank you</div><div><br></div><div>151C3B00020000001B000C0014002F00FFFFFFFF466F746F6772616669612064692050686F746F20456469746F72004D5350686F746F45642E330001050000020000000C0000004D5350686F746F45642E33000000000000000000000E0900D0CF11E0A1B11AE1000000000000000000000000000000003E000300FEFF09000600000000000000000000000A0000000100000000000000001000000200000001000000FEFFFFFF0000000000000000040000000500000006000000070000004502000046020000470200004802000049020000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ...<br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><span style="font-size:small">___________________</span><br></div><div dir="ltr"><span style="font-size:small"><br></span></div><div dir="ltr">Andrea Borruso<br>
website: <a href="https://medium.com/tantotanto" target="_blank">https://medium.com/tantotanto</a><br>38° 7' 48" N, 13° 21' 9" E, EPSG:4326<br><span style="font-size:small">___________________</span><br>
<br>
"cercare e saper riconoscere chi e cosa,<br>
in mezzo all’inferno, non è inferno, <br>
e farlo durare, e dargli spazio"<br>
<br>
Italo Calvino<br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>