Extracting preview image from jpg image file


  1. Posts : 33
    Windows 10 Home
       #1

    Extracting preview image from jpg image file


    Hi there
    Several years ago I took some digital photos that were saved to a flash memory. Unfortunately when transferring the images to the computer back then something happened and most of the images went corrupt. Only 10 % of the image is visible when opening them in any photo viewer. However, when I open the folder on the cd where the images are saved with small or large icons setting, it is possible to see the image for maybe 1 second before it previews the corrupt image.

    It must mean there is some kind of image information saved in the file. Is there any way to extract this "preview" somehow?
      My Computer


  2. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #2

    Hello @nickozao,

    nickozao said:
    However, when I open the folder on the cd where the images are saved with small or large icons setting, it is possible to see the image for maybe 1 second before it previews the corrupt image.
    Do you get the same behaviour if you use the CD on ANOTHER computer ?
      My Computer


  3. Posts : 33
    Windows 10 Home
    Thread Starter
       #3

    Well yes, AFAICR. I noticed this behaviour on an older computer, and tried on a newer lately when browsing for other photos, I accidentally found them there.
      My Computer


  4. Posts : 1,210
    Windows 10
       #4

    What format are the files?
      My Computer


  5. Posts : 33
    Windows 10 Home
    Thread Starter
       #5

    Malneb said:
    What format are the files?
    Jpg format.

    - - - Updated - - -

    This is what the "preview" or large icons look like. Since the disappearance of the image occurs in less than a second it is impossible to take a screenshot of that.
    Attached Thumbnails Attached Thumbnails Extracting preview image from jpg image file-untitled.png  
      My Computer


  6. Posts : 765
    Windows 7
       #6

    I will tell you the sad truth. You can't recover your images this way.

    Explorer creates a thumbnail by loading every image file, or part of a video into memory, and resizing a copy of it. When the JPEG codec tries to expand a corrupted image, it will stop at that point and throw away the work-in-progress. All image decoders work in the same fashion.

    There are 3rd-party apps that attempt to recover corrupted images, by ignoring corrupted blocks as much as they can. Your results will depend on how damaged the source file is. I have tried it on a recovered SD card, and most of the time it's disappointing. But that's your best shot, Windows (and Explorer) isn't going to perform magic.

    The reason is JPEG and MPEG are data streams, anything past the point of corruption is permanently unrecoverable. It's not like each block is independent of its neighboring block.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 14:37.
Find Us




Windows 10 Forums