Export Jpeg's from documents

We have an application based on individuals.

It has an rtf field with a picture of the person,

I want to export this and a couple of text fields into something that can be moved into another no notes application… EG csv,xml …

Any help / ideas appreciated