Within a "differentiated" approach to getting links, I would say absolutely both, but even with alt tags and whatever text you can associate to images, nothing can be made more relevant than pure text; after all, the best links are contextual, right?
PS: the opposite is also true, that is, if the link is irrelevant, it better be an image than from irrelevant contextual ones.