how to save image embedded in HTML as jpg not bmp?

Someone sent me a photo in an html email. The entire email size is 25KB.
I want to save the photo, so I right click and select save as, but 
strangely, only bmp format is offered. Saving the image as bmp yields a 1MB 
file. I don't want to re-compress it as jpeg again.

If I view source while in the email, the place where the image appears has a 
tag like this:

<IMG alt="" hspace=0 src="cid:029701c4ac5d$7b874910$f3343204@photo1"
align=baseline border=0>

I'm guessing the cid: thing is referring to some internal database in 
outlook where the image is stored. How can I extract this jpeg file and save 
it as is?

I ended up forwarding the email to a yahoo account, there I was able to 
right click on the image and save as jpeg file, but this is a stupid 
solution. There has to be a direct way. 


0
nospam7515 (2084)
11/17/2004 5:13:12 AM
outlook 87535 articles. 11 followers. Follow

4 Replies
342 Views

Similar Articles

[PageSpeed] 8

Yes, you can do this with a macro;
http://www.howto-outlook.com/howto/saveembeddedpictures.htm

-- 
Robert Sparnaaij [MVP-Outlook]
www.howto-outlook.com

Tips of the month:
-What do the Outlook Icons Mean?
-Create an Office 2003 CD slipstreamed with Service Pack 1

-----
"peter" <nospam@nospam.com> wrote in message 
news:u6YalQGzEHA.3336@TK2MSFTNGP11.phx.gbl...
> Someone sent me a photo in an html email. The entire email size is 25KB.
> I want to save the photo, so I right click and select save as, but 
> strangely, only bmp format is offered. Saving the image as bmp yields a 
> 1MB file. I don't want to re-compress it as jpeg again.
>
> If I view source while in the email, the place where the image appears has 
> a tag like this:
>
> <IMG alt="" hspace=0 src="cid:029701c4ac5d$7b874910$f3343204@photo1"
> align=baseline border=0>
>
> I'm guessing the cid: thing is referring to some internal database in 
> outlook where the image is stored. How can I extract this jpeg file and 
> save it as is?
>
> I ended up forwarding the email to a yahoo account, there I was able to 
> right click on the image and save as jpeg file, but this is a stupid 
> solution. There has to be a direct way.
> 


0
Roady
11/17/2004 8:39:44 AM
The article hit the nail on the head. However, this solution is so involved, 
forwarding to yahoo is starting to look less stupid a solution.

I couldn't help but wonder, why won't outlook let me save the photo as jpg? 
Is this a bug or feature? Is there a patch to enable this?

Since the complexity is a one-time thing, I think I'll do the macro as 
suggested. Thanks.

-peter

"Roady [MVP]" <newsgroups_DELETE_@_DELETE_sparnaaij_NO_._SPAM_net> wrote in 
message news:%23gEayDIzEHA.3368@TK2MSFTNGP15.phx.gbl...
> Yes, you can do this with a macro;
> http://www.howto-outlook.com/howto/saveembeddedpictures.htm
>
> -- 
> Robert Sparnaaij [MVP-Outlook]
> www.howto-outlook.com
>
> Tips of the month:
> -What do the Outlook Icons Mean?
> -Create an Office 2003 CD slipstreamed with Service Pack 1
>
> -----
> "peter" <nospam@nospam.com> wrote in message 
> news:u6YalQGzEHA.3336@TK2MSFTNGP11.phx.gbl...
>> Someone sent me a photo in an html email. The entire email size is 25KB.
>> I want to save the photo, so I right click and select save as, but 
>> strangely, only bmp format is offered. Saving the image as bmp yields a 
>> 1MB file. I don't want to re-compress it as jpeg again.
>>
>> If I view source while in the email, the place where the image appears 
>> has a tag like this:
>>
>> <IMG alt="" hspace=0 src="cid:029701c4ac5d$7b874910$f3343204@photo1"
>> align=baseline border=0>
>>
>> I'm guessing the cid: thing is referring to some internal database in 
>> outlook where the image is stored. How can I extract this jpeg file and 
>> save it as is?
>>
>> I ended up forwarding the email to a yahoo account, there I was able to 
>> right click on the image and save as jpeg file, but this is a stupid 
>> solution. There has to be a direct way.
>>
>
> 


0
nospam7515 (2084)
11/17/2004 7:58:37 PM
No, there is no other solution for it. Whether it is a bug or feature... 
well at least it is a known issue ;-)

-- 
Robert Sparnaaij [MVP-Outlook]
www.howto-outlook.com

Tips of the month:
-What do the Outlook Icons Mean?
-Create an Office 2003 CD slipstreamed with Service Pack 1

-----
"peter" <nospam@nospam.com> wrote in message 
news:OQAzV$NzEHA.1404@TK2MSFTNGP11.phx.gbl...
> The article hit the nail on the head. However, this solution is so 
> involved, forwarding to yahoo is starting to look less stupid a solution.
>
> I couldn't help but wonder, why won't outlook let me save the photo as 
> jpg? Is this a bug or feature? Is there a patch to enable this?
>
> Since the complexity is a one-time thing, I think I'll do the macro as 
> suggested. Thanks.
>
> -peter
>
> "Roady [MVP]" <newsgroups_DELETE_@_DELETE_sparnaaij_NO_._SPAM_net> wrote 
> in message news:%23gEayDIzEHA.3368@TK2MSFTNGP15.phx.gbl...
>> Yes, you can do this with a macro;
>> http://www.howto-outlook.com/howto/saveembeddedpictures.htm
>>
>> -- 
>> Robert Sparnaaij [MVP-Outlook]
>> www.howto-outlook.com
>>
>> Tips of the month:
>> -What do the Outlook Icons Mean?
>> -Create an Office 2003 CD slipstreamed with Service Pack 1
>>
>> -----
>> "peter" <nospam@nospam.com> wrote in message 
>> news:u6YalQGzEHA.3336@TK2MSFTNGP11.phx.gbl...
>>> Someone sent me a photo in an html email. The entire email size is 25KB.
>>> I want to save the photo, so I right click and select save as, but 
>>> strangely, only bmp format is offered. Saving the image as bmp yields a 
>>> 1MB file. I don't want to re-compress it as jpeg again.
>>>
>>> If I view source while in the email, the place where the image appears 
>>> has a tag like this:
>>>
>>> <IMG alt="" hspace=0 src="cid:029701c4ac5d$7b874910$f3343204@photo1"
>>> align=baseline border=0>
>>>
>>> I'm guessing the cid: thing is referring to some internal database in 
>>> outlook where the image is stored. How can I extract this jpeg file and 
>>> save it as is?
>>>
>>> I ended up forwarding the email to a yahoo account, there I was able to 
>>> right click on the image and save as jpeg file, but this is a stupid 
>>> solution. There has to be a direct way.
>>>
>>
>>
>
> 


0
Roady
11/18/2004 10:52:26 AM
hi, i have this same problem too, i used this method but it only solved 1/2 
of it bcoz when i SaveAttachment, only 1 "none" appeared in the sub-menu n 
therefore only the 1st picture could be saved, any solutions? thx

"Roady [MVP]" wrote:

> No, there is no other solution for it. Whether it is a bug or feature... 
> well at least it is a known issue ;-)
> 
> -- 
> Robert Sparnaaij [MVP-Outlook]
> www.howto-outlook.com
> 
> Tips of the month:
> -What do the Outlook Icons Mean?
> -Create an Office 2003 CD slipstreamed with Service Pack 1
> 
> -----
> "peter" <nospam@nospam.com> wrote in message 
> news:OQAzV$NzEHA.1404@TK2MSFTNGP11.phx.gbl...
> > The article hit the nail on the head. However, this solution is so 
> > involved, forwarding to yahoo is starting to look less stupid a solution.
> >
> > I couldn't help but wonder, why won't outlook let me save the photo as 
> > jpg? Is this a bug or feature? Is there a patch to enable this?
> >
> > Since the complexity is a one-time thing, I think I'll do the macro as 
> > suggested. Thanks.
> >
> > -peter
> >
> > "Roady [MVP]" <newsgroups_DELETE_@_DELETE_sparnaaij_NO_._SPAM_net> wrote 
> > in message news:%23gEayDIzEHA.3368@TK2MSFTNGP15.phx.gbl...
> >> Yes, you can do this with a macro;
> >> http://www.howto-outlook.com/howto/saveembeddedpictures.htm
> >>
> >> -- 
> >> Robert Sparnaaij [MVP-Outlook]
> >> www.howto-outlook.com
> >>
> >> Tips of the month:
> >> -What do the Outlook Icons Mean?
> >> -Create an Office 2003 CD slipstreamed with Service Pack 1
> >>
> >> -----
> >> "peter" <nospam@nospam.com> wrote in message 
> >> news:u6YalQGzEHA.3336@TK2MSFTNGP11.phx.gbl...
> >>> Someone sent me a photo in an html email. The entire email size is 25KB.
> >>> I want to save the photo, so I right click and select save as, but 
> >>> strangely, only bmp format is offered. Saving the image as bmp yields a 
> >>> 1MB file. I don't want to re-compress it as jpeg again.
> >>>
> >>> If I view source while in the email, the place where the image appears 
> >>> has a tag like this:
> >>>
> >>> <IMG alt="" hspace=0 src="cid:029701c4ac5d$7b874910$f3343204@photo1"
> >>> align=baseline border=0>
> >>>
> >>> I'm guessing the cid: thing is referring to some internal database in 
> >>> outlook where the image is stored. How can I extract this jpeg file and 
> >>> save it as is?
> >>>
> >>> I ended up forwarding the email to a yahoo account, there I was able to 
> >>> right click on the image and save as jpeg file, but this is a stupid 
> >>> solution. There has to be a direct way.
> >>>
> >>
> >>
> >
> > 
> 
> 
> 
0
mork (12)
11/21/2004 5:03:01 PM
Reply:

Similar Artilces:

XmlDocument.Save() does not close the file properly?
Hi, I have a test program that creates 5 threads and each thread uses XmlDocument.Save(filename) to save a Xml dom to a file. I have put the lock statement around the Save to prevent from concurrently updating. However I'm still seeing "System.IO.IOException: The process cannot access the file "c:\file1.xml" because it is being used by another process." The following is the test program public class XmlTest { private static void ThreadProc(object o) { XmlDocument x1 = new XmlDocument(); x1.AppendChild(x1.CreateElement("test")); whi...

Security Role cannot be saved
Let's say I adjusted some users security role, and I save it. For some reason, I re-open the security role and I found out the security role was back in the original state. What's the reason? I've seen odd things with security,.....and if you read the IG, Microsoft "recommends" that you not change any of the original security roles, but rather make a copy and change that......... -Gary "Joe" <joselok@hotmail.com> wrote in message news:%231ZWcvcmDHA.2536@tk2msftngp13.phx.gbl... > Let's say I adjusted some users security role, and I save it. For ...

Converting JPG files to VSD files?
Three questions; 1. Is there a simple way to convert JPG files to Viso? 2. Or is there a way to scale them to a Viso drawing? 3. If 1-2 can't be done what if I was to draw lines on top of the imported jpg floor plan layout using it as a guide then save that as a vsd file? Thanks Bud jpgs are bit oriented and cannot be converted to visio. you might consider inserting your image into a background page and then create your drawing on an associated foreground page (using page setup). I'd probably use the building plan templates because of the dimensioning stencils to validate tha...

Save a new file with the name that is in cell "C7"
Here is what I want to do: Open up a template. Enter information. Click on save, and when the window shows up asking me to name the file, I want it to automatically use a file name with the value in cell C7. As an example, if cell C7 has "Milton 287-12", I want to automatically name the file"Milton 287-12" when I save for the first time. Is this possible? Thanks, Joe Hi, Lunker, Try pasting the following code into a macro sheet and running it with Alt-F8 Change the path to whatever you require between the quote in line 3 and "A1" to whatever cell you want...

Rendering Images
Interesting subject - I receive images via Outlook Express in many forms. Some are attached and simple to deal with and some are imbedded within the text area of the message. Some appear in both cases. Regardless of how they appear I forward the attached and save the individual images that appear within the text and forward them as appropriate. I have respondents that cannot render those messgaes that are not attached. I recieived a group of images today that were imbedded and not attached. While not unusual they were not seperated as individual images but contingent with no seperation between...

Can't save sent messages
I'm running Windows Live Mail on Windows 7, new computer for a month now. My 'sent' messages had been saved in the sent folder, as well as my deleted messages in the deleted folder. I wanted to save these both and manually delete what I wanted. This worked up until today, now no sent messages are showing in my folder, no deleted messages in delete folder and additional folders that I set up to store mail have also disappeared. Any ideas to help with this? Using a Live ID to sign on to Windows Live ? Are the Sent Items and Deleted items in the email account for t...

Invoice print settings don't save?
I have gone through the print setup and selected the printer and a template. The problem is the template I select doesn't stay selected into the next session. How can I get the default invoice template to change? I have this same problem. Has anybody been able to figure out how to change the "default" template that is used when an invoice is printed? I don't want to have to change the selected template every session. I am using Money 2005 Small Biz. Thanks, Justin "Jon R. Helms" wrote: > I have gone through the print setup and selected the > pri...

Word 2010: cannot save normal.dotm file?
Using the Word 2010 beta on Win7. I cannot save my Normal.dotm file - at least not usefully. I can open the file, edit it, add macros to it, whatever, and it will save (in the folder directory, the .dotm file will show a change in file size). But if I close Word, or if I open a new document in Word, the Normal.dotm file is reset to the default, losing any changes I've made. I can save and use other .dotm templates; but not the default Normal.dotm template. You've posted to the Mac Word group, so there isn't much help available here on a Beta version for Windows. Tr...

Why can't I save Publisher files since an XP upgrade?
-- 89Q Radio Trial version? Maybe the time has run out. Are you saving to your hard drive? Can you open files? Do you get an error? What version Publisher? -- Mary Sauer MSFT MVP http://office.microsoft.com/ http://msauer.mvps.org/ news://msnews.microsoft.com http://officebeta.iponet.net/en-us/publisher/FX100649111033.aspx "Coy" <Coy@discussions.microsoft.com> wrote in message news:C4666111-8322-43AA-BD05-A1E24D4D7C23@microsoft.com... > > -- > 89Q Radio Mary: I have used Publisher 2002 for a couple of years now. It was only recently (since an upgrade t...

Problem saving embedded .gif or .jpg (.bmp only option)
(Sorry for crosspost - also posted in "microsoft.public.outlook.general") I've seen this question posted a half dozen times, and I've yet to see a solution. Problem: When an animated .gif (ditto for .jpg) is embedded in the body of a message (Outlook 2002 (Windows XP (home) with Office XP 2002) - I'm NOT using Outlook Express), the ONLY option I have for saving the embedded .gif (or .jpg) is in .bmp format - no other option is available. (See attached screen print for clarification.) I have deleted all Temp Internet Folders & files; I have cleared Internet History...

HTML index.hhk
Hello, Can someone please post a small sample of an Index.hhk file. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <HTML> <HEAD> <meta name="GENERATOR" content="Microsoft&reg; HTML Help Workshop 4.1"> <!-- Sitemap 1.0 --> </HEAD><BODY> <UL> </UL> </BODY> </HTML> Thanks, Barbara ...

Export from EXcel to jpg with 2007
Tom Ogilvy posted the following code some time back and it works wonderfully in Excel 2003 but, of course, encounters problems in 2007. Can anyone give suggestions for bringing it up to date for 2007? Sub ExportPicAsJpg() Dim chTemp As Chart Dim picCopy As Picture Dim dWidth As Double Dim dHeight As Double Dim shNew As Worksheet Set picCopy = Selection Set chTemp = Charts.Add Set shNew = Sheets.Add dWidth = picCopy.Width dHeight = picCopy.Height Application.ScreenUpdating = False With chTemp .SetSourceData Sou...

Need help - Save as
In new Outlook 2003, when I highlight several e-mail in my Inbox & select File, Save As, it only saves the Headers of the e-mails & not the headers & the body - in my old Outlook 2000 it saved both - can any one tell me how to correct this? I have a program that read the Saved As file & processes the data in the e-mails & I can't find where to change any option to fix this... though I have read & read & read... thxs much !!! What format are the messages and are you using the old Ol97/2002 pst format or the new Unicode format? We're seeing issues ...

Save a Publisher ducument as .htm
I have a leaflet that I print using Publisher. It is in Booklet format with 4 pages (2 from, 2 back). I want to display all pages (1-4) as a webpage, but when I 'Save As' webpage/.htm only Page 1 is saved. How do I get the entire document saved? Thank. Mike Chances are you created the other pages, but didn't notice that they are in supporting folder that also contains all the graphics for your site. Generally, for reasons beyond the scope of your question, you do not do a 'Save As' to create a website using Pub 2003 and 2007. Instead do a 'Publish ...

how do I send graphical mail in html format?
I want to send an email having minimum 4 images to a mailing list. But it doesn't seem that easy, because I don't want those images as an attachment. How can I do it? does the list support HTML? If so, they should be embedded in the body. -- Diane Poremsky [MVP - Outlook] Author, Teach Yourself Outlook 2003 in 24 Hours Need Help with Common Tasks? http://www.outlook-tips.net/beginner/ Outlook 2007: http://www.slipstick.com/outlook/ol2007/ Outlook Tips by email: dailytips-subscribe-request@lists.outlooktips.net Outlook Tips: http://www.outlook-tips.net/ Outlook & Exchange Sol...

Ability for text fields be HTML enabled
The are custom fields and system fields that I would like to have html enabled to house hyperlinks, etc. I have also implemented the email to case workflow, and do not like the way the case description displayed, it captures all the html tags from the e-mail. So I either have to have the email sent in plain text or parse out the test from the html tags. ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the butto...

HTML to XML conversion #2
Hi, I'm trying to create a Learning Object Repository to store learning objects (obviously!). My question is how do I convert HTML pages to XML and then store them in a database and then generate HTML/XHTML pages on the fly and display it to the client from the stored XML files. Help! GeRmIc wrote: > I'm trying to create a Learning Object Repository to store learning objects > (obviously!). My question is how do I convert HTML pages to XML and then > store them in a database and then generate HTML/XHTML pages on the fly and > display it to the client from the st...

Saving in Excel 2000
Hello Guys: Does anybody knows if there is a way to save automatically when yo exit an excel worksheet without having to acknowledge the Save dialog? THANK -- Message posted from http://www.ExcelForum.com Add this code to ThisWorkbook code module Private Sub Workbook_BeforeClose(Cancel As Boolean) ThisWorkbook.Save End Sub -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Macaco >" <<Macaco.17w6k8@excelforum-nospam.com> wrote in message news:Macaco.17w6k8@excelforum-nospam...

Comments Wont Save (crtl+f10)
I am trying to save comments on workorders using ctrl+f10 i can type the comments and it appears i tender and save changes, however when i go back to the work order the comments are gone. I reallly need the comments to document what instruction the customer has provides and to document what has been done -- Thanks Ian Ian: It might be as simple as a setting. Using RMS? In Manager, go to File -> configuration -> Options -> POS Options "record Item comments" the default is not usually set to save them. Peter Johnson American Retail Supply MSFT Certified Partner...

Cannot Read Saved Document from Works From Other Computer
I am trying to save Microsoft Works documents from my one computer which has a Windows ME operating system onto a disc that I can open on another computer which has a Windows XP operating system. When I try to open the files, I get an error message stating that Works cannot open the file, that it may be in use by another application, the file format may not be supported by any of the installation converters, or the file may be corrupt. I have tried renaming the file but this doesn't work. The file extension is already a .wps one so I don't think there is any conflict with the...

file save as word 2003 xp pro
Scenario I open a document called test.doc and make a change. I use the file save as option and call the file test.doc. It doesn't prompt me to overwrite the existing test.doc shouldn't it?? I belive it did in earlier versions?? No - if you open a document and use SaveAs to save it with the same name you won't get a prompt. If you use SaveAs to save it with a different existing name, you will. -- <>>< ><<> ><<> <>>< ><<> <>>< <>><<> Graham Mayor - Word MVP My web site...

HTML Link from OWA does not work in regular Outlook 2003
I have Exchange 2003 runnning on Windows 2000 server w SP4. Whenever I send someone a link through OWA to a website they cannot open it in regular outlook, but when they click on the link by logging in through OWA it works fine. I was wondering if someone can shed some light on this issue. Following is an example of a link: http://www.hotel-online.com/News/PR2005_1st/Jan05_KapaluaBayRedevelopment.ht ml The link above translate into the following: /exchweb/bin/redir.asp?URL=http://www.hotel-online.com/News/PR2005_1st/Jan05 _KapaluaBayRedevelopment.html Thank you ...

Saving Toolbar settings
I am running OL2003. When I open my Inbox and arrange my toolbars the way that I like them, I'd like them to stay that way the next time that I open OL. Instead the defaults load and I'm back to the orginal configuration. Any ideas how to "save" the Toolbar settings? Randy Randy, I'm not sure whether this will make a difference or not. But are you doing this with Administrator privialages? Like I said, not sure whether it will make any difference at all but it's something to try. regards, Ash. Thanks for your response. Yes, I am logged on with Adminis...

Publisher can't Save
We have a PC with a 2 gig hard drive (C) and a 20 gig hard drive (D). We installed Publisher on the bigger drive, since C only had about 100 meg free. We are having a problem trying to save to D, it tells us the drive is full but there are 11 gig available. I am thinking that the Undo support may be automatically saving the file to C as changes are made and it gets filled up; when we try to save Publisher to D it gets confused. We have the same error message trying to save the 36K file to a blank 1.4 meg floppy as A. We are running Publisher 2002 pretty much as it came out of the box. I d...

protect embeded object
Hello, I have a worksheet with an embedded Project file. is it possible to protect the worksheet to not allow users to delete the embedded file, but to allow them to edit the embedded file? thanks Hi don't think this is possible. Maybe create a macro which first unprotects and then opens your object -- Regards Frank Kabel Frankfurt, Germany "greg" <greg@nospam.com> schrieb im Newsbeitrag news:O4dM07i3EHA.1372@TK2MSFTNGP10.phx.gbl... > Hello, > I have a worksheet with an embedded Project file. > is it possible to protect the worksheet to not allow users to del...