ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: csomosa on May 04, 2022, 02:11:05 AM

Title: Support of RFA files
Post by: csomosa on May 04, 2022, 02:11:05 AM
Hi,

we are currently using ExifTool 12.12 and 12.40.
We have a bunch of RFA files which will be detected as fpx:

[{
  "SourceFile": "original_2742f839dad010ed0cf4ca508fbf6cb0.rfa",
  "ExifTool": {
    "ExifToolVersion": 12.40
  },
  "File": {
    "FileName": "original_2742f839dad010ed0cf4ca508fbf6cb0.rfa",
    "Directory": ".",
    "FileSize": "960 KiB",
    "FileModifyDate": "2022:05:03 08:53:36+02:00",
    "FileAccessDate": "2022:05:03 08:53:36+02:00",
    "FileInodeChangeDate": "2022:05:03 08:53:36+02:00",
    "FilePermissions": "-rw-r-----",
    "FileType": "FPX",
    "FileTypeExtension": "fpx",
    "MIMEType": "image/vnd.fpx"
  }
}]


As our conversion processes are built around ExifTool it would be really great if the tool would support the RFA files and detected the file type and MIME type correctly.
Would it be possible?

I'll attach some sample files.

Br,
Anna
Title: Re: Support of RFA files
Post by: StarGeek on May 04, 2022, 03:17:42 AM
7zip says this is a Microsoft Compound File (https://www.loc.gov/preservation/digital/formats/fdd/fdd000380.shtml) and let's me look at the contents.  A search on the file extension says it's a Autodesk Revit file.  There's an embedded PNG file with the name RevitPreview4.0.
Title: Re: Support of RFA files
Post by: Phil Harvey on May 04, 2022, 09:35:41 AM
I could possibly identify this as an Autodesk Revit file by looking for "Autodesk Revit" in the root entry of the FlashPix directory, but I don't know how I can distinguish between the different types of Revit files.  Revit writes RTE, RVT, RFA and RFT files.  I think I would need samples of all of these to be able to identify the specific characteristics of an RFA file.

- Phil
Title: Re: Support of RFA files
Post by: csomosa on June 30, 2022, 02:46:25 AM
Hi Philip,

thank you for your reply.
I managed to get some sample files you could use.

Best regards,
Anna
Title: Re: Support of RFA files
Post by: StarGeek on June 30, 2022, 11:32:05 AM
Just an FYI, Phil is currently away until next week.
Title: Re: Support of RFA files
Post by: Phil Harvey on July 06, 2022, 08:45:17 AM
I've added a patch to recognize the specific type of Revit file, and this will appear in ExifTool 12.43 (hopefully to be released later today).

- Phil
Title: Re: Support of RFA files
Post by: csomosa on August 30, 2022, 01:27:07 AM
Hi Phil,

thank you.
It works like a charm.  :)

Br,
Anna