... BMP := TBitmap.Create; BMP.LoadFromFile('c:\user.bmp'); SS := TStringStream.Create(BitmapToRTF(BMP)); ...