1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Converting to a JPEG file.

Discussion in 'Digital Photography & Imaging' started by SPINMASTER, Feb 10, 2006.

Thread Status:
Not open for further replies.
Advertisement
  1. SPINMASTER

    SPINMASTER Thread Starter

    Joined:
    Sep 9, 2005
    Messages:
    47
    I rec a lot of excel files via email with a jpeg in the document.
    Is there any way of just popping the picture out and converting
    it to a JPEG and storing it in my pic folder ?

    Thanks for your help
     
  2. lister

    lister

    Joined:
    Aug 10, 2004
    Messages:
    1,993
    Open the file, then save the excel file as HTML file (not MHT). The corresponding folder created along with the HTML should contain the original images.

    Tell whoever is ending images in excel/word files to stop it. Zip them up or something if they have to.
     
  3. SPINMASTER

    SPINMASTER Thread Starter

    Joined:
    Sep 9, 2005
    Messages:
    47
    I opened the file and clicked save as - but there is no option in excel to save a HTML file - I am using Excel 2003
     
  4. ChuckE

    ChuckE

    Joined:
    Aug 30, 2004
    Messages:
    2,311
    If the picture is already a JPG in the Excel doc, then why not just select the picture, Copy it (^C), then open some graphic tool (like MS Paint or IrfanView) do a Paste (^V), and then save it.

    Works for me.
     
  5. lister

    lister

    Joined:
    Aug 10, 2004
    Messages:
    1,993
    It's under Web Page in the 'save as type' list.

    Chucke, I find that often (though strangely, not always) images copied and pasted from Word/Excel lose definition (almost look like colour indexed images) when pasted into other progs.
    Plus there is the fact that this means resaving the Jpeg again, losing more image data.

    Does Paint allow one to specify a compression rate for jpegs in XP? It's been so long since I've used it - way back in W98 days!
     
  6. ChuckE

    ChuckE

    Joined:
    Aug 30, 2004
    Messages:
    2,311
    If the file is a JPG, already selecting it and copying it elsewhere will not make it lose definition. The file remains the same (i.e. Copy "this whole thing" (the file, the image, not a screen capture of it) then Paste "this whole thing").
    Where you might be losing definition is if you are copying the screen image (such as via some screen capturing software). What you see on the screen may not be all the data, in all of its glory.

    (By the way, MSDN says that without altering a JPG file, then multiple saves will not make you lose detail. They also say that simple image manipulation, such as whole 90 degree rotations, or image flipping, and you will also not lose detail. It is other alterations that will probably cause loss of detail. Oh, also they stress that the image must have height and width pixel dimensions exactly at multiples of 16. But that is getting too nerdy, sorry.)

    Paint does not have provision for adjusting how much compression (more compression = smaller file size = more loss of detail), but IrfanView does.
    From what I can tell, from some quick tests in comparing resulting JPG file saves, it looks like Paint's compression is set at approximately 75 (1 - 100, where the lower the number results in more compression, and more loss of detail) when comparing Paints JPG file save, to IrfanView's 1-100 values.
    --------------------
    By the way, the value of 100 is NOT 100%, or "lossless"
    All JPG format images have some loss to help in the file compression.

    There is a new JPEG2000 format, that saves files with the extension JP2, that has the ability to be "lossless." IrfanView can read and write JPEG2000 (JP2) images.
     
  7. Cosmic

    Cosmic

    Joined:
    May 5, 2003
    Messages:
    1,298
    If you can get the JPG with in the document on the screen as a photo, Right click on it, try to "Save Picture As", should be able to save it out directly as a JPG. Can even try the "Save Target As" feature from that menu and see what that gives.

    If not can try saving the email out and try to read it with Irfanview. Sometimes it will read a lot of formats and allow you to save it back out as a JPG. Or you can sometimes do a clipboard copy and paste to a viewer like Paint or Irfanview. Not sure exactly how that document is showing you the photo but one of those methods should snag it in some form.

    As mentioned if you can save the entire email itself out as a HTML; don't try to open it, all the parts will be included in the associated folders. If there is a true JPG there it will be in the folder. My nephew sends me photos in emails and that is normally how I extract the JPG photos attached. One of those methods gives it in the native form.

    http://www.irfanview.com/
     
  8. lister

    lister

    Joined:
    Aug 10, 2004
    Messages:
    1,993
    Yes, but once you've copied the jpeg to the clipboard, and pasted it into Paint or Irfanview presumably you need to save it, which would be another save! Of course you could always save in a lossless format, if you have plenty of HDD space.

    This depends really on how Word/excel actually 'save' the images from the file.

    I tested this; I inserted 3 dif format images (PNG, JPG & TIF) into a word doc, saved, closed, then reopened and saved as an HTML - the files in the resulting folder where exact (binary, you could check with a hex editor i suppose) duplicates of the originals.

    So i presume its really more like an extraction of the orginal files rather than saving them.
     
  9. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads - Converting JPEG file
  1. Barriejrsharks
    Replies:
    1
    Views:
    545
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/441544

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice