Speedy MIME Image decoding using HTML

I’ve been working with our Esendex Email MMS service which forwards any inbound MMS picture messages to an email address. As the picture is MIME encoded I needed a quick way to check the image included.

Thanks to a post by Zmeeagain I found the very handy trick of pasting the Base64 encoded text into an HTML Image tag to quickly render the message in a web browser.

Simply create a new HTML file and paste your Base64 text replacing BASE64TEXT and ensure that the data: type reflects the MIME encoding type of the attached image (image/jpeg in this case):
<html><body><img src="data:image/jpeg;base64,BASE64TEXT"/></body></html>

Save the file as an HTML document and open in your favourite browser. Voila! Simples, hey?