Do you ever get an email that has some base64 gobbledegook in it? A lot of times, based on MIME information directly preceding this junk, it’s actually an image that got converted to text but never converted back to an image (duh, right? Tell me something I don’t know? Okay…)

I got one of these earlier and decided to write a little utility to convert that string back into an image using the .net framework. It was pretty simple once I got the namespaces right:

using System;
using System.Drawing;
using System.IO;
using System.Collections;

public class MyClass
{
	public static void Main()
	{
		string base64 = @"R0lGODlhSwDRAPYAAG9qb6mlqJwdJMzHy5qYm722vbS2zldTWKzK9smjabKPZfLVnL26vo
		V7gsS2vkc5QoeEiG1LS5Rydv/+/zYyOMS8wkoyNEhDSLSus5GVrbSytbJycQwIEGNdZCciKbSJjOrl6nUwNXqIrY
		xPTGhAOHd1flxWXq2usK+prs9uZyIaIzErM5aq0zo1QVNMU4xNL/z3/a1RTysmMKOdoykMEPTu9K9oW7Kjk4yMkJ
		SNk04FC5JuUExLT5i36dGugbW1uZiDiHkDCNTU3DUkKpqjsdKJf6m841hCSRkUHPbz9ruyuI8zN62ztOHd4rFdY+
		zr805SVnNgYx0iKk4YIOS6iT0/TLmxq/f1+zEdGjcvKoeaw00oIeeWh8bl+p6fns3n2VtjfP/J2XQZH7W7ukpPS4
		9fXy0vN1JSUNCcm3IpIpOSlZ+XhvvqurwyN+/r7cDExqm2qvb17uDAe/v0+RseHXx8fsO6sen7+ycuKl5fYIqPi/
		b8//v886yGSkA8Peq6oSwAAAAASwDRAAAH/4ADYz8MFQwOFUoOSkoYSgUVDg4FlJMFjgwMlBWGmWOZnBUFioiSkY
		oVbxU/hAyDn5mxhZqxFbAMjJGnjJWSvpSPnLQMb8W1kaO+ygWIhgWxY5+dss6xb7WVj5abzMuUhc7PstjdysrT0L
		Pjs+LEPxg/nJO8md/alsGhmu3jot3J5r5Bk8agVa1hmjRgcPQIkkCFGHpRYiZsIrhQGCfOKydJoCeCBkEhdDRqoZ
		JdCU9ooGip2b5nwvSBm0iznMV1qtZVy4RqEaZL8AqwqsnLn0VOFmm+ZNfRo0hQ6NhhY5RJA4oKCllp0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G8AD0OHALR4HLnjLA8WgqYSh1EDIoYZAjlAQNOmpQ6BBg3wmSnQwERAKDzAmoOQrEeWgS0wjHTbMMTSHo3
		gfn8WDUGehNRwlZwSYQdVLgAAaTsCBMyYHiqtqqBIgQpYAgRlqcsww+fUqChQYlMR1QJduBbpK4umVqLDEQoXX9G
		Az6+Xs2rVn9XhZfDXA4hMzUGC7GjnA27eWLWPYrKTAXbsVQjtQCKFBHZcuQTWYBhRqycWMA2ymPEOJVgInHOueet
		VKAN8YMmNgQpzJmAJ231RgwCA0gzdvGCR0ebp0aZClcTgcvJiw4cgolFw9QfwE+QBMMFixomT9GysOlFQoM1CAwZ
		j7Y5g/hx4auv8xprkEEmoEquZUStpkAxRrrYGSjRoNYQMbbFXphtllbc1gFWyBAAA7";

		Bitmap map;
		
		using(MemoryStream stream = new MemoryStream(Convert.FromBase64String(base64)))
		using(FileStream fs = File.Create(@"C:\tmp\img.gif")){
		
			map = (Bitmap)Image.FromStream(stream);
				
			map.Save(fs, System.Drawing.Imaging.ImageFormat.Gif);
		}
		
		WL("Converted Image Successfully!");
	}
	
	private static void WL(string text, params object[] args)
	{
		Console.WriteLine(text, args);	
	}
	
	private static void RL()
	{
		Console.ReadLine();	
	}
	
	private static void Break() 
	{
		System.Diagnostics.Debugger.Break();
	}
}

Slap that little snippet into Snippet Compiler and look at what is generated. I actually changed the image to something a little bit friendlier than the image I recieved in the email. Enjoy!