Support of H86 files

Started by csomosa, July 18, 2022, 04:27:16 AM

Previous topic - Next topic

csomosa

Hi All,

one of our customers is using .h86 files which file type can be detected correctly with ExifTool 10.14, but the newer versions recognize these files as txt:
[{
  "SourceFile": "original_0532d47b658a2d1b6b4b3fd41d3556bf.h86",
  "ExifTool": {
    "ExifToolVersion": 12.28
  },
  "File": {
    "FileName": "original_0532d47b658a2d1b6b4b3fd41d3556bf.h86",
    "Directory": ".",
    "FileSize": "1643 KiB",
    "FileModifyDate": "2022:05:06 11:16:39+02:00",
    "FileAccessDate": "2022:05:06 11:16:26+02:00",
    "FileInodeChangeDate": "2022:05:06 11:16:39+02:00",
    "FilePermissions": "-rw-r-----",
    "FileType": "TXT",
    "FileTypeExtension": "txt",
    "MIMEType": "text/plain",
...
  }
}]


Would it be possible to support H86 files again?

Best regards,
Anna

Phil Harvey

ExifTool never "correctly" identified H86 files:

> Image-ExifTool-10.14/exiftool ~/Desktop/sample_h86_files/*
======== /Users/phil/Desktop/sample_h86_files/C7000IOC_V684F.H86
ExifTool Version Number         : 10.14
File Name                       : C7000IOC_V684F.H86
Directory                       : /Users/phil/Desktop/sample_h86_files
File Size                       : 1642 kB
File Modification Date/Time     : 2022:07:18 10:21:08-04:00
File Access Date/Time           : 2022:07:18 06:40:24-04:00
File Inode Change Date/Time     : 2022:07:18 06:40:23-04:00
File Permissions                : rw-r-----
Error                           : Unknown file type
File Extension                  : H86
======== /Users/phil/Desktop/sample_h86_files/C7000IOC_V684I.H86
ExifTool Version Number         : 10.14
File Name                       : C7000IOC_V684I.H86
Directory                       : /Users/phil/Desktop/sample_h86_files
File Size                       : 1641 kB
File Modification Date/Time     : 2022:07:18 10:21:08-04:00
File Access Date/Time           : 2022:07:18 06:40:24-04:00
File Inode Change Date/Time     : 2022:07:18 06:40:23-04:00
File Permissions                : rw-r-----
Error                           : Unknown file type
File Extension                  : H86
======== /Users/phil/Desktop/sample_h86_files/c7000at_v475_hw1.H86
ExifTool Version Number         : 10.14
File Name                       : c7000at_v475_hw1.H86
Directory                       : /Users/phil/Desktop/sample_h86_files
File Size                       : 2.3 MB
File Modification Date/Time     : 2022:07:18 10:21:08-04:00
File Access Date/Time           : 2022:07:18 06:40:24-04:00
File Inode Change Date/Time     : 2022:07:18 06:40:23-04:00
File Permissions                : rw-r-----
Error                           : Unknown file type
File Extension                  : H86
    3 image files read


Newer versions recognize these as text files, which is actually correct.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).