Announcement

Collapse
No announcement yet.

Some JPG Files Cannot be Opened

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Solved Some JPG Files Cannot be Opened

    IrfanView 64-bit v 4.4.2.0, Windows 7.
    I hesitated to report this, until I saw problems in this thread that look familiar.
    The error message says:
    (File path and name): Can't read file header! Unkown file format, empty/damaged file or file not found!

    Some JPG images do not open in IrfanView even though they open in: Paint, Windows Photo Viewer, Image Lounge, Canvas 11, etc. The JPG does open in IrfanView if moved or copied to the desktop. So this looks like a Windows issue, but why only IrfanView has a problem?

    All the “problem” JPGs were copied from a Classic Mac computer via a MacOSX computer. Mac users may know that every file copied in this way arrives into Windows accompanied by a sort of “ghost” file (the classic Mac resource fork, split off). The ghost has the same name, with a “._” prefix. I copied around 6,000 JPG files in about 230 nested folders, then removed all the “._” files using TreeSize file search. Most of these JPGs are legacy scans from film camera days, so have no EXIF data. Those with EXIF were not edited in Mac OS and seem to open OK. An example is attached, chosen from a "bad" folder (but not moved or copied).

    It seems that the folders get “poisoned” by some memory of the ghost images. But why only IrfanView sees a problem? All the same, IrfanView is a better viewer than any other Windows 7 viewer I have tried.
    Attached Files

    #2
    Try enabling the Unicode plugin in Properties, Language. It may be the Path or file name that is causing the problems.
    Before you post Edit your profile • IrfanView 4.72 • Windows 10 Home 19045.2486

    Irfan PaintIrfan View HelpIrfanPaint HelpMore SkinsFastStone CaptureUploads

    Comment


      #3
      Thank you, that fixes the problem. Unicode checkbox was dimmed in my 64-bit IrfanView so I installed the 32-bit version and enabled Unicode there. Classic Mac allows any punctuation characters in file and path names except colon. Windows converted the characters it didn't like to rectangles. I have some other questions, but not for this thread. Thanks again!

      Comment

      Working...
      X