Insert images into heading tags

There should be a way to insert an image into a h1, h2, etc.

Just ran into a situation with a slider where I needed to insert an image into a heading tag. This is perfectly acceptable in SEO if you’re supply an Alt attribute to the image.