Exporting Image data type from SQL Server to Text File

I need to export a table of the SQL Server that has a column of the Image
type for an archive text, I am trying to use the TMemoryStream component.
How to make to read the data of the Memory property? I already tried to
catch in the following Integer(MemoryStream.Memory+(i*2))^, but he did not
I need to read these data and convert them for hexadecimal.

 Fernando F. Scolari