Support of RFA files

Started by csomosa, May 04, 2022, 02:11:05 AM

Previous topic - Next topic

csomosa

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

StarGeek

7zip says this is a Microsoft Compound File 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.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

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
...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 ($).

csomosa

Hi Philip,

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

Best regards,
Anna

StarGeek

Just an FYI, Phil is currently away until next week.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

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
...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 ($).

csomosa

Hi Phil,

thank you.
It works like a charm.  :)

Br,
Anna