Possessing the BASE64-encoding of such an image is still a felony. Text only doesn't solve the problem.
Proper SPAM and user/content management is an inevitable need for public chat. E.g. what makes HN chat readable and full of legal content is not comment length limit but all of the other more complex systems enabling efficient moderation.