what would be the benefit of turning it into an image rather than some arbitrary representation?

I'm not sure exactly. Maybe its just easier to work with matrix data. That's all an image is anyhow. The imaging is just to convert the text to some matrix that's tied to the text structure.