Text this: Model-based image coding