« Thingamablog | Main | Dell Laptop BIOS Password Removal »
Sunday, February 10, 2008
Save Outlook Embedded Pictures in Their Original Format
Like many of you, I use Microsoft Outlook as my email program, and have a love/hate relationship with it. It has many wonderful features, but unfortunately some aggravations as well. Fortunately, there are ways to improve on many of the shortcomings.
One of my pet peeves was that I often get html-formatted emails with cute pictures and photos embedded within the message that I may want to save. By default, Outlook will not allow you to save these pictures in their default format. This can apply to other embedded file types as well.
If you save the email as an html file, it does not save the attachments, as it would if you saved a web page from your browser. If you right-click on a picture and select "Save picture as", the only choice is to save it as "untitled.bmp" (you can give it a different name, but not a different extension). If you save that bmp, you can always convert it to a gif or jpg with something like IrfanView. If the original graphic was an animated gif, however, then it will no longer be animated!
In the past, I have tried two workarounds but neither has been satisfactory. The first method is to forward the email to myself, but NOT allow Outlook to download it from the Internet. To do this, you need to set up Outlook to NOT automatically receive messages (I have mine set to automatically send new messages, when I hit the "Send" button, but to receive, I have to hit the "Send/Receive" button). Then, while the message is still on my ISP's server, I use my ISP's webmail feature to open the message in my browser, where I can save it correctly. This works well, but is awkward and time-consuming.
The second method is to move or copy the message to a special "Export" folder that I set up in Outlook, then use "Outlook Express" (not Outlook) to import messages from Outlook's "Export" folder. Once the message has been imported in Express, you can (usually) save the graphics in their default and correct format. This method is also awkward, and does not even work on every email message. I (and many other people) have often thought it very strange that Outlook Express can do this properly, but the bigger (and in most ways better) Outlook could not! Anyway, I finally found a solution that works pretty well, at http://www.howto-outlook.com/howto/saveembeddedpictures.htm. The parent site, HowTo-Outlook.com, also has a lot of other good information and downloads for Outlook. The site's author, Robert Sparnaaij, has written a short Visual Basic macro to save those attachments (actually ALL the email's attachments) as their original file type: jpg, gif, avi, mid, etc. This sounds intimidating, but it is really easy to follow the instructions, and you just copy the few lines of code from the web page. The code has been tested with Outlook 2003 on Windows XP and Outlook 2007 on Windows Vista but should work on previous versions as well. I tested it with Outlook 2000, and it works great. To use your new macro, simply open a message that contains embedded pictures. You have to actually open the message, NOT just view it in a "Preview" pane. When you click on the newly created "Save Attachments" button, it will prompt you for a location to save the attachments (except blocked ones) with a date and time stamp, but after saving you can rename them to something more descriptive, like CajunFiddler.gif, if desired. If the original graphic was an animated gif, then it will still be animated!
NOTE: this macro does not save the actual message, just the attachments and embedded files, so if you want to save the message itself, you still need to do that as well.
This is so much better than other methods that I have used, but still not perfect. I wish there was a way to save the entire message as html, WITH the attachments in a folder like you can do from your browser (with the attachments in a "filename_files" folder, corresponding to "filename.htm"). To do that, either use the first method above, or manually create the folder, move the attachments into the folder, and edit all the img tags in the html file to point to the files in their new folder. This is really not hard, but it can be time-consuming, and there should be an easier way!
Well, it may be that there is a better way, from the HowTo-Outlook.com site, and I will cover that in another article.
Categories: Articles, Favorite Websites, Recommended freeware, Tips, Tricks, Tweaks