exiftool / exiftool

ExifTool meta information reader/writer

Home Page:https://exiftool.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't write tags to RAF file version 0120

cheinigk opened this issue · comments

Hi all,

I've tried to set an artist with

exiftool -v3 -exif:Artist="Some Artist" file.raf

or a rating with

exiftool -v3 -xmp:Rating=1 file.raf

Both commands output similar error messages which read

Writing IFD0:Artist
======== file.raf
Rewriting file.raf...
  Error = Unsupported or corrupted RAF image (version 0120)
Error: Unsupported or corrupted RAF image (version 0120) - file.raf
    0 image files updated
    1 files weren't updated due to errors

I believe the message comes from the file FujiFilm.pm line 1503 which is issued after a check for the embedded image position in the raf file. Unfortunately, I've never learned Perl so this is where I'm stuck with the debugging. In case that writing tags to the FujiFilm X-T4 RAF version 0120 is not yet supported, I'd love to contribute with image files logs or whatever. If there's an error on my side, I'd appreciate some hints as to what I'm doing wrong/misunderstood. In any case thanks a lot for a nice open tool

Best,
Christian

Hi Christian,

I'll need a sample image to analyze. Can you provide one?

  • Phil

Hi Phil,

thanks for your fast reply. Sure, here's an image. I can provide more, in case you need it.

My current guess is that some offsets have changed in the particular version of the particular RAF format.

Btw. the command

exiftool -v3 -validate file.raf

prints a warning

Warning = Value for FujiIFD tag 0xf010 VignettingParams overlaps tag 0xf00f Chrom[snip]

and a lot of extra information (see validation.txt)

I've taken a look at the file. Interesting. The FujiFilm RAF format has been very stable for a number of years, but with this camera they have added a new data block after the initial directory in the file. It may take me a while to add the ability to write these. I'm pretty sure it will be a simple change, but it will take some time to validate that the edited files are compatible with various software.

Thank you for looking into this issue! In case there's anything I can do, that doesn't require a lot of Perl knowledge, let me know.

It would be great if you could help with the compatibility testing. I'll see about providing a version for testing, and post back here when I have something (hopefully some time next week).

Also, a few more sample images shot with different image parameters would be useful so I can see if there is any variability in the data of this new block.

I sure can provide more images; but at the earliest by the end of next week (the camera is currently wrapped as a gift). Any particular settings which I shall change? IIRC there are compressed and uncompressed raw formats, and I can also change regular parameters like ISO, Aperture, etc. So I can certainly go through them one by one and also make one with multiple changed params. Anything else?

I can have a look at what exiv2, and RawTherapee report. Darktable uses exiv2, so that should be covered then, too.

Changing exposure parameters shouldn't change the file structure, so that wouldn't be helpful. But changing image size and compression settings would be useful. Also, if there are any settings for size/format of embedded preview images.

For testing, the most important thing will be to check for compatibility with Adobe and FujiFilm software.

  • Phil

I've looked into this in more detail. I don't want to add support for this until I see more FujiFilm cameras writing this format. Unfortunately the newly added block contains offsets which will need to be adjusted when the file is rewritten, and I like to have samples from a few different models so I can check the variability in these fields.

You can find samples from recent FujiFilm cameras on RPU: you can filter by "fujifilm" in the search box and then e.g .sort descending by date...

It's been more than a year and I still don't have any more RAF samples with this format, including samples I downloaded from RPU for about a dozen of the most recent models.

Interestingly enough, I can't reproduce the error anymore. Neither with my own pictures nor with the files from a random forum or another random forum.

Thanks for following up.

I think I have a few more images with this issue, but my version is different (0103). I tried to update OffsetTime* tags from and it worked on pretty much all my RAF files—all from the new Fujifilm X-T5. But in 8 (out of hundreds) the command failed with:

Error: Unsupported or corrupted RAF image (version 0103) - <path/to/photo.RAF>

Running exiftool -validate on those files I see a warning that is very similar to @cheinigk:

Warning = Value for FujiIFD tag 0xf010 VignettingParams overlaps tag 0xf00f Chrom[snip]

I have 8 of those RAFs, 3 of them don't show any faces so I'm sharing them here. I could share the others but not in a public GH issue.

Thanks for the extra samples! This is useful. Two of the files you posted have the same issue. (The 3rd writes without a problem.) -- Ah!! The two affected files are both shot in HDR mode, but the 3rd isn't. This is also true for my only other sample with this issue (but from the X-T4). So this is the difference. These are all composite HDR images.

I think maybe I have enough now to add write support for these.

Thanks again.

  • Phil

(The 3rd writes without a problem.)

That is a bit concerning, maybe? All my 8 files failed the following command:

$ exiftool -s -if '$OffsetTime eq "-08:00"' '-OffsetTime*=-07:00' <path to RAF>
Error: Unsupported or corrupted RAF image (version 0103) - <path to RAF>
    0 image files updated
    1 files weren't updated due to errors

And they all have that same warning when I run -validate on them. FWIW I'm running version 12.60 on a M2 Mac, installed with homebrew. @boardhead Do you think I need a separate issue for the other files? I feel like the fix is going to work for all of them, based on the signals I'm seeing.

P.S.: BTW Is there a way to have that command work but set the offset to a XMP file or something? Just so I have it while waiting for the fix.

I think you may have uploaded the wrong file (WEDN5111.RAF works for me.)

I'm not sure what you want to do with the XMP file. The OffsetTime tags aren't stand-alone tags in XMP.

  • Phil

I'm not sure what you want to do with the XMP file. The OffsetTime tags aren't stand-alone tags in XMP.

My lack of knowledge of "real" camera workflows is showing off. I just thought that changing offset values outside of the image file would be a decent-enough fix since my editing software can read these sidecar files and it would export the JPGs with the already corrected value (I'll keep correcting it on the exported JPG for these).

But I'll stop hijacking the issue with other problems. I'm glad you have enough to add support the HDR RAF files, let me know if there is anything else I could help with.

I'm working on this now (finally!). The HDR samples contain an extra M-RAW data block which gives information about the extra images stored in the file (in this case, 3 images). Below is what I have discovered so far by comparing the 3 HDR samples I have with a non-HDR RAF image:

HDR image                   HDR image                   HDR image                   Non-HDR image
FujiFilmX-T4_0120.raf       WEDN4605.RAF                WEDN5109.RAF                WEDN5111.RAF
(ISO = 2000)                (ISO = 125)                 (ISO = 250)                 (ISO = 2000)
---------------------       ------------                ------------                ------------
0000: 46 55 4a 49 [FUJI]    0000: 46 55 4a 49 [FUJI]    0000: 46 55 4a 49 [FUJI]    0000: 46 55 4a 49 [FUJI]
0004: 46 49 4c 4d [FILM]    0004: 46 49 4c 4d [FILM]    0004: 46 49 4c 4d [FILM]    0004: 46 49 4c 4d [FILM]
0008: 43 43 44 2d [CCD-]    0008: 43 43 44 2d [CCD-]    0008: 43 43 44 2d [CCD-]    0008: 43 43 44 2d [CCD-]
000c: 52 41 57 20 [RAW ]    000c: 52 41 57 20 [RAW ]    000c: 52 41 57 20 [RAW ]    000c: 52 41 57 20 [RAW ]
0010: 30 32 30 31 [0201]    0010: 30 32 30 31 [0201]    0010: 30 32 30 31 [0201]    0010: 30 32 30 31 [0201]
0014: 46 46 31 35 [FF15]    0014: 46 46 31 37 [FF17]    0014: 46 46 31 37 [FF17]    0014: 46 46 31 37 [FF17] - Some Fuji number
0018: 39 35 30 35 [9505]    0018: 39 35 30 32 [9502]    0018: 39 35 30 32 [9502]    0018: 39 35 30 32 [9502]
001c: 58 2d 54 34 [X-T4]    001c: 58 2d 54 35 [X-T5]    001c: 58 2d 54 35 [X-T5]    001c: 58 2d 54 35 [X-T5] - Model
0020: 00 00 00 00 [....]    0020: 00 00 00 00 [....]    0020: 00 00 00 00 [....]    0020: 00 00 00 00 [....]
0024: 00 00 00 00 [....]    0024: 00 00 00 00 [....]    0024: 00 00 00 00 [....]    0024: 00 00 00 00 [....]
0028: 00 00 00 00 [....]    0028: 00 00 00 00 [....]    0028: 00 00 00 00 [....]    0028: 00 00 00 00 [....]
002c: 00 00 00 00 [....]    002c: 00 00 00 00 [....]    002c: 00 00 00 00 [....]    002c: 00 00 00 00 [....]
0030: 00 00 00 00 [....]    0030: 00 00 00 00 [....]    0030: 00 00 00 00 [....]    0030: 00 00 00 00 [....]
0034: 00 00 00 00 [....]    0034: 00 00 00 00 [....]    0034: 00 00 00 00 [....]    0034: 00 00 00 00 [....]
0038: 00 00 00 00 [....]    0038: 00 00 00 00 [....]    0038: 00 00 00 00 [....]    0038: 00 00 00 00 [....]
003c: 30 31 32 30 [0120]    003c: 30 31 30 33 [0103]    003c: 30 31 30 33 [0103]    003c: 30 31 30 33 [0103] - RAF version
0040: 00 00 00 01 [....]    0040: 00 00 00 01 [....]    0040: 00 00 00 01 [....]    0040: 00 00 00 00 [....] - 1 when M-RAW exists?
0044: 00 00 00 00 [....]    0044: 00 00 00 00 [....]    0044: 00 00 00 00 [....]    0044: 00 00 00 00 [....] - (high word M-RAW offset?)
0048: 00 00 00 94 [....]    0048: 00 00 00 94 [....]    0048: 00 00 00 94 [....]    0048: 00 00 00 00 [....] - M-RAW header offset
004c: 00 00 01 1c [....]    004c: 00 00 01 1c [....]    004c: 00 00 01 1c [....]    004c: 00 00 00 00 [....] - M-RAW header length
0050: 00 00 00 00 [....]    0050: 00 00 00 00 [....]    0050: 00 00 00 00 [....]    0050: 00 00 00 00 [....] - ?
0054: 00 00 01 b0 [....]    0054: 00 00 01 b0 [....]    0054: 00 00 01 b0 [....]    0054: 00 00 00 94 [....] - JPEG offset
0058: 00 37 5a fa [.7Z.]    0058: 00 41 6a 4b [.AjK]    0058: 00 55 d8 99 [.U..]    0058: 00 50 89 d1 [.P..] - JPEG length
005c: 00 37 5d a0 [.7].]    005c: 00 41 6d 0c [.Am.]    005c: 00 55 db 0c [.U..]    005c: 00 50 8a 68 [.P.h] - RAF dir offset
0060: 00 00 56 60 [..V`]    0060: 00 00 56 f4 [..V.]    0060: 00 00 56 f4 [..V.]    0060: 00 00 56 f4 [..V.] - RAF dir length
0064: 00 37 b4 00 [.7..]    0064: 00 41 c4 00 [.A..]    0064: 00 56 32 00 [.V2.]    0064: 00 50 e1 5c [.P.\] - FujiIFD dir offset
0068: 01 bd 15 60 [...`]    0068: 02 48 69 80 [.Hi.]    0068: 02 6e ab a0 [.n..]    0068: 03 09 b6 e0 [....] - FujiIFD dir length
006c: 00 00 00 02 [....]    006c: 00 00 00 02 [....]    006c: 00 00 00 02 [....]    006c: 00 00 00 02 [....]
0070: 01 bd 15 60 [...`]    0070: 02 48 69 80 [.Hi.]    0070: 02 6e ab a0 [.n..]    0070: 03 09 b6 e0 [....] - (same as 0x68?)
0074: 00 00 00 00 [....]    0074: 00 00 00 00 [....]    0074: 00 00 00 00 [....]    0074: 00 00 00 00 [....]
0078: 00 00 00 00 [....]    0078: 00 00 00 00 [....]    0078: 00 00 00 00 [....]    0078: 00 00 00 00 [....] - RAF1 dir offset
007c: 00 00 00 00 [....]    007c: 00 00 00 00 [....]    007c: 00 00 00 00 [....]    007c: 00 00 00 00 [....] - RAF1 dir length
0080: 00 00 00 00 [....]    0080: 00 00 00 00 [....]    0080: 00 00 00 00 [....]    0080: 00 00 00 00 [....] - FujiIFD1 dir offset
0084: 00 00 00 00 [....]    0084: 00 00 00 00 [....]    0084: 00 00 00 00 [....]    0084: 00 00 00 00 [....]
0088: 00 00 00 00 [....]    0088: 00 00 00 00 [....]    0088: 00 00 00 00 [....]    0088: 00 00 00 00 [....]
008c: 00 00 00 00 [....]    008c: 00 00 00 00 [....]    008c: 00 00 00 00 [....]    008c: 00 00 00 00 [....]
0090: 00 00 00 00 [....]    0090: 00 00 00 00 [....]    0090: 00 00 00 00 [....]    0090: 00 00 00 00 [....]
0094: 46 55 4a 49 [FUJI] ** 0094: 46 55 4a 49 [FUJI] ** 0094: 46 55 4a 49 [FUJI] ** 0094: ff d8 ff e1 [....]
0098: 46 49 4c 4d [FILM]    0098: 46 49 4c 4d [FILM]    0098: 46 49 4c 4d [FILM]    0098: 30 b8 45 78 [0.Ex]
009c: 4d 2d 52 41 [M-RA]    009c: 4d 2d 52 41 [M-RA]    009c: 4d 2d 52 41 [M-RA]    009c: 69 66 00 00 [if..]
00a0: 57 20 20 20 [W   ]    00a0: 57 20 20 20 [W   ]    00a0: 57 20 20 20 [W   ]    00a0: 49 49 2a 00 [II*.]
00a4: 31 2e 30 30 [1.00]    00a4: 31 2e 30 30 [1.00]    00a4: 31 2e 30 30 [1.00]
00a8: 00 00 00 02 (   2)    00a8: 00 00 00 02 (   2)    00a8: 00 00 00 02 (   2)
00ac: 00 00 00 03 (   3)    00ac: 00 00 00 03 (   3)    00ac: 00 00 00 03 (   3)
00b0: 31 2e 30 30 [1.00]    00b0: 31 2e 30 30 [1.00]    00b0: 31 2e 30 30 [1.00]  (M-RAW version?)
00b4: 00 00 00 00 [....]    00b4: 00 00 00 00 [....]    00b4: 00 00 00 00 [....]
00b8: 00 00 00 00 [....]    00b8: 00 00 00 00 [....]    00b8: 00 00 00 00 [....]
00bc: 00 40 00 07 [.@..]    00bc: 00 40 00 07 [.@..]    00bc: 00 40 00 07 [.@..]  (size/count of parameters?)
00c0: 00 00 00 00 [....]    00c0: 00 00 00 00 [....]    00c0: 00 00 00 00 [....] <- (offset high word?)
00c4: 00 00 00 00 [....]    00c4: 00 00 00 00 [....]    00c4: 00 00 00 00 [....] <-- offset of 1st raw image
00c8: 00 00 00 00 [....]    00c8: 00 00 00 00 [....]    00c8: 00 00 00 00 [....] <- (length high word?)
00cc: 01 f4 c9 60 [...`] -- 00cc: 02 8a 2d 80 [..-.] -- 00cc: 02 c4 dd a0 [....] <-- length of 1st raw image
00d0: 20 01 00 04 32/1/4    00d0: 20 01 00 04 [ ...]    00d0: 20 01 00 04 [ ...]  (parm 1 hdr, 4-byte value)
00d4: 00 00 00 00 [....]    00d4: 00 00 00 00 [....]    00d4: 00 00 00 00 [....]  (parm 1 value = 0)
00d8: 20 03 00 04 32/3/4    00d8: 20 03 00 04 [ ...]    00d8: 20 03 00 04 [ ...]  (parm 3 hdr, 4-byte value)
00dc: 00 00 00 64 0/100     00dc: 00 00 00 64 0/100     00dc: 00 00 00 64 0/100   (parm 3 value = 0/100)
00e0: 20 04 00 04 32/4/4    00e0: 20 04 00 04 [ ...]    00e0: 20 04 00 04 [ ...]  (parm 4 hdr, 4-byte value)
00e4: 00 00 00 64 0/100     00e4: 00 00 00 64 0/100     00e4: 00 00 00 64 0/100   (parm 4 value = 0/100)
00e8: 20 05 00 08 32/5/8    00e8: 20 05 00 08 [ ...]    00e8: 20 05 00 08 [ ...]  (parm 5 hdr, 8-byte value)
00ec: 00 00 00 0a (  10)    00ec: 00 00 00 0a (  10)    00ec: 00 00 00 0a (  10)  (parm 5 value 1 = 10)
00f0: 00 00 03 20 ( 800)    00f0: 00 00 11 94 (4500)    00f0: 00 00 06 40 (1600)  (parm 5 value 2)
00f4: 20 06 00 08 32/6/8    00f4: 20 06 00 08 [ ...]    00f4: 20 06 00 08 [ ...]  (parm 6 hdr, 8-byte value)
00f8: 00 00 01 90 ( 400)    00f8: 00 00 01 90 ( 400)    00f8: 00 00 01 c2 ( 450)  (parm 6 value 1)
00fc: 00 00 00 64 ( 100)    00fc: 00 00 00 64 ( 100)    00fc: 00 00 00 64 ( 100)  (parm 6 value 2 = 100)
0100: 20 07 00 04 32/7/4    0100: 20 07 00 04 [ ...]    0100: 20 07 00 04 [ ...]  (parm 7 hdr, 4-byte value)
0104: 00 00 07 d0 (2000)    0104: 00 00 00 7d ( 125)    0104: 00 00 00 c8 ( 200)  (parm 7 value, nearly ISO)
0108: 20 08 00 04 32/8/4    0108: 20 08 00 04 [ ...]    0108: 20 08 00 04 [ ...]  (parm 8 hdr, 4-byte value)
010c: 00 00 00 00 [....]    010c: 00 00 00 00 [....]    010c: 00 00 00 00 [....]  (parm 8 value = 0)
0110: 00 00 00 00 [....]    0110: 00 00 00 00 [....]    0110: 00 00 00 00 [....] <- (offset high word?)
0114: 01 f4 c9 60 [...`]    0114: 02 8a 2d 80 [..-.]    0114: 02 c4 dd a0 [....] <-- offset of 2nd raw image
0118: 00 00 00 00 [....]    0118: 00 00 00 00 [....]    0118: 00 00 00 00 [....] <- (length high word?)
011c: 01 2b 59 f0 [.+Y.]    011c: 01 b5 18 30 [...0]    011c: 01 ca 9d 00 [....] <-- length of 2nd raw image
0120: 20 01 00 04 32/1/4    0120: 20 01 00 04 [ ...]    0120: 20 01 00 04 [ ...]  (start parameters 2)
0124: 00 00 00 01 (   1)    0124: 00 00 00 01 (   1)    0124: 00 00 00 01 (   1)  (parm 1 value = 1)
0128: 20 03 00 04 32/3/4    0128: 20 03 00 04 [ ...]    0128: 20 03 00 04 [ ...]
012c: fe d4 00 64 -300/100  012c: fe d4 00 64 [...d]    012c: fe d4 00 64 [...d]  (parm 3 value = -300/100)
0130: 20 04 00 04 32/4/4    0130: 20 04 00 04 [ ...]    0130: 20 04 00 04 [ ...]
0134: fe d4 00 64 -300/100  0134: fe d4 00 64 [...d]    0134: fe d4 00 64 [...d]  (parm 4 value = -300/100)
0138: 20 05 00 08 32/5/8    0138: 20 05 00 08 [ ...]    0138: 20 05 00 08 [ ...]
013c: 00 00 00 0a (  10)    013c: 00 00 00 0a (  10)    013c: 00 00 00 0a (  10)  (parm 5 value 1 = 10)
0140: 00 00 03 20 ( 800)    0140: 00 00 88 b8 35000)    0140: 00 00 1a 90 (6800)  (parm 5 value 2)
0144: 20 06 00 08 32/6/8    0144: 20 06 00 08 [ ...]    0144: 20 06 00 08 [ ...]
0148: 00 00 01 90 ( 400)    0148: 00 00 01 90 ( 400)    0148: 00 00 01 c2 ( 450)  (parm 6 value 1)
014c: 00 00 00 64 ( 100)    014c: 00 00 00 64 ( 100)    014c: 00 00 00 64 ( 100)  (parm 6 value 2 = 100)
0150: 20 07 00 04 32/7/4    0150: 20 07 00 04 [ ...]    0150: 20 07 00 04 [ ...]
0154: 00 00 00 fa ( 250)    0154: 00 00 00 7d ( 125)    0154: 00 00 00 7d ( 125)  (parm 7 value)
0158: 20 08 00 04 32/8/4    0158: 20 08 00 04 [ ...]    0158: 20 08 00 04 [ ...]
015c: 00 00 00 00 [....]    015c: 00 00 00 00 [....]    015c: 00 00 00 00 [....]  (parm 8 value = 0)
0160: 00 00 00 00 [....]    0160: 00 00 00 00 [....]    0160: 00 00 00 00 [....]
0164: 03 20 23 50 [. #P] -- 0164: 04 3f 45 b0 [.?E.] -- 0164: 04 8f 7a a0 [..z.] <-- offset of 3rd raw image
0168: 00 00 00 00 [....]    0168: 00 00 00 00 [....]    0168: 00 00 00 00 [....]
016c: 01 ab 9b 30 [...0]    016c: 02 60 13 b0 [.`..]    016c: 02 ed d1 b0 [....] <-- length of 3rd raw image
0170: 20 01 00 04 32/1/4    0170: 20 01 00 04 [ ...]    0170: 20 01 00 04 [ ...]  (start parameters 3)
0174: 00 00 00 02 (   2)    0174: 00 00 00 02 (   2)    0174: 00 00 00 02 (   2)  (parm 1 value = 2)
0178: 20 03 00 04 32/3/4    0178: 20 03 00 04 [ ...]    0178: 20 03 00 04 [ ...]
017c: 01 2c 00 64 300/100   017c: 01 2c 00 64 [.,.d]    017c: 01 2c 00 64 [.,.d]  (parm 3 value = 300/100)
0180: 20 04 00 04 32/4/4    0180: 20 04 00 04 [ ...]    0180: 20 04 00 04 [ ...]
0184: 01 2c 00 64 300/100   0184: 01 2c 00 64 300/100   0184: 01 2c 00 64 300/100 (parm 4 value = 300/100)
0188: 20 05 00 08 32/5/4    0188: 20 05 00 08 [ ...]    0188: 20 05 00 08 [ ...]
018c: 00 00 00 0a (  10)    018c: 00 00 00 0a (  10)    018c: 00 00 00 0a (  10)  (parm 5 value 1 = 10)
0190: 00 00 00 64 ( 100)    0190: 00 00 02 30 ( 560)    0190: 00 00 00 c8 ( 200)  (parm 5 value 2)
0194: 20 06 00 08 32.6/8    0194: 20 06 00 08 [ ...]    0194: 20 06 00 08 [ ...]
0198: 00 00 01 90 ( 400)    0198: 00 00 01 90 ( 400)    0198: 00 00 01 c2 ( 450)  (parm 6 value 1)
019c: 00 00 00 64 ( 100)    019c: 00 00 00 64 ( 560)    019c: 00 00 00 64 ( 200)  (parm 6 value 2)
01a0: 20 07 00 04 32/7/4    01a0: 20 07 00 04 [ ...]    01a0: 20 07 00 04 [ ...]
01a4: 00 00 07 d0 (2000)    01a4: 00 00 00 7d ( 125)    01a4: 00 00 00 c8 ( 200)  (parm 7 value)
01a8: 20 08 00 04 32/8/4    01a8: 20 08 00 04 [ ...]    01a8: 20 08 00 04 [ ...]
01ac: 00 00 00 00 [....]    01ac: 00 00 00 00 [....]    01ac: 00 00 00 00 [....]  (parm 8 value = 0)
01b0: ff d8 ff e1 [....]    01b0: ff d8 ff e1 [....]    01b0: ff d8 ff e1 [....]  (start preview JPG)
01b4: ff 8c 45 78 [..Ex]    01b4: ff 8c 45 78 [..Ex]    01b4: ff 8c 45 78 [..Ex]
01b8: 69 66 00 00 [if..]    01b8: 69 66 00 00 [if..]    01b8: 69 66 00 00 [if..]
01bc: 49 49 2a 00 [II*.]    01bc: 49 49 2a 00 [II*.]    01bc: 49 49 2a 00 [II*.]

parm 1 - int32u sequence number (starting at 0)
parm 2 - <missing>
parm 3 - rational32u exposure compensation?
parm 4 - rational32u (same as  parm3?)
parm 5 - int32u[2] ?
parm 6 - int32u[2] ?
parm 7 - int32u ?
parm 8 - int32u ?

FujiFilmX-T4_0120.raf
---------------------
1f4c960: 46 55 4a 49 [FUJI]
1f4c964: 46 49 4c 4d [FILM]
1f4c968: 43 43 44 2d [CCD-]
1f4c96c: 52 41 57 20 [RAW ]
1f4c970: 30 32 30 31 [0201]
1f4c974: 46 46 31 35 [FF15]
1f4c978: 39 35 30 35 [9505]
1f4c97c: 58 2d 54 34 [X-T4]
1f4c980: 00 00 00 00 [....]
1f4c984: 00 00 00 00 [....]
1f4c988: 00 00 00 00 [....]
1f4c98c: 00 00 00 00 [....]
1f4c990: 00 00 00 00 [....]
1f4c994: 00 00 00 00 [....]
1f4c998: 00 00 00 00 [....]
1f4c99c: 30 31 32 30 [0120]
1f4c9a0: 00 00 00 00 [....]
1f4c9a4: 00 00 00 00 [....]
1f4c9a8: 00 00 00 00 [....]
1f4c9ac: 00 00 00 00 [....]
1f4c9b0: 00 00 00 00 [....]
1f4c9b4: 00 00 00 00 [....]
1f4c9b8: 00 00 00 00 [....]
1f4c9bc: 00 00 01 a0 [....]
1f4c9c0: 00 00 56 60 [..V`]
1f4c9c4: 00 00 58 00 [..X.]
1f4c9c8: 01 2b 01 f0 [.+..]
1f4c9cc: 00 00 00 02 [....]
1f4c9d0: 01 2b 01 f0 [.+..]
1f4c9d4: 00 00 00 00 [....]
1f4c9d8: 00 00 00 00 [....]
1f4c9dc: 00 00 00 00 [....]
1f4c9e0: 00 00 00 00 [....]
1f4c9e4: 00 00 00 00 [....]
1f4c9e8: 00 00 00 00 [....]
1f4c9ec: 00 00 00 00 [....]
1f4c9f0: 00 00 00 00 [....]
1f4c9f4: 00 00 00 00 [....]
1f4c9f8: 00 00 00 00 [....]
1f4c9fc: 00 00 00 00 [....]
1f4ca00: 00 00 00 00 [....]
1f4ca04: 00 00 00 00 [....]
1f4ca08: 00 00 00 00 [....]
1f4ca0c: 00 00 00 00 [....]
1f4ca10: 00 00 00 00 [....]
1f4ca14: 00 00 00 00 [....]
1f4ca18: 00 00 00 00 [....]
1f4ca1c: 00 00 00 00 [....]
1f4ca20: 00 00 00 00 [....]
1f4ca24: 00 00 00 00 [....]
1f4ca28: 00 00 00 00 [....]
1f4ca2c: 00 00 00 00 [....]
1f4ca30: 00 00 00 00 [....]
1f4ca34: 00 00 00 00 [....]
1f4ca38: 00 00 00 00 [....]
1f4ca3c: 00 00 00 00 [....]
1f4ca40: 00 00 00 00 [....]
1f4ca44: 00 00 00 00 [....]
1f4ca48: 00 00 00 00 [....]
1f4ca4c: 00 00 00 00 [....]
1f4ca50: 00 00 00 00 [....]
1f4ca54: 00 00 00 00 [....]
1f4ca58: 00 00 00 00 [....]
1f4ca5c: 00 00 00 00 [....]
1f4ca60: 00 00 00 00 [....]
1f4ca64: 00 00 00 00 [....]
1f4ca68: 00 00 00 00 [....]
1f4ca6c: 00 00 00 00 [....]
1f4ca70: 00 00 00 00 [....]
1f4ca74: 00 00 00 00 [....]
1f4ca78: 00 00 00 00 [....]
1f4ca7c: 00 00 00 00 [....]
1f4ca80: 00 00 00 00 [....]
1f4ca84: 00 00 00 00 [....]
1f4ca88: 00 00 00 00 [....]
1f4ca8c: 00 00 00 00 [....]
1f4ca90: 00 00 00 00 [....]
1f4ca94: 00 00 00 00 [....]
1f4ca98: 00 00 00 00 [....]
1f4ca9c: 00 00 00 00 [....]
1f4caa0: 00 00 00 00 [....]
1f4caa4: 00 00 00 00 [....]
1f4caa8: 00 00 00 00 [....]
1f4caac: 00 00 00 00 [....]
1f4cab0: 00 00 00 00 [....]
1f4cab4: 00 00 00 00 [....]
1f4cab8: 00 00 00 00 [....]
1f4cabc: 00 00 00 00 [....]
1f4cac0: 00 00 00 00 [....]
1f4cac4: 00 00 00 00 [....]
1f4cac8: 00 00 00 00 [....]
1f4cacc: 00 00 00 00 [....]
1f4cad0: 00 00 00 00 [....]
1f4cad4: 00 00 00 00 [....]
1f4cad8: 00 00 00 00 [....]
1f4cadc: 00 00 00 00 [....]
1f4cae0: 00 00 00 00 [....]
1f4cae4: 00 00 00 00 [....]
1f4cae8: 00 00 00 00 [....]
1f4caec: 00 00 00 00 [....]
1f4caf0: 00 00 00 00 [....]
1f4caf4: 00 00 00 00 [....]
1f4caf8: 00 00 00 00 [....]
1f4cafc: 00 00 00 00 [....]
1f4cb00: 00 00 00 0c [....]
1f4cb04: 01 00 00 04 [....]
1f4cb08: 10 56 18 f0 [.V..]
1f4cb0c: 01 10 00 04 [....]
1f4cb10: 00 0d 00 06 [....]
1f4cb14: 01 11 00 04 [....]
1f4cb18: 10 40 18 60 [.@.`]
1f4cb1c: 01 12 00 04 [....]

FujiFilmX-T4_0120.raf
---------------------
3202350: 46 55 4a 49 [FUJI]
3202354: 46 49 4c 4d [FILM]
3202358: 43 43 44 2d [CCD-]
320235c: 52 41 57 20 [RAW ]
3202360: 30 32 30 31 [0201]
3202364: 46 46 31 35 [FF15]
3202368: 39 35 30 35 [9505]
320236c: 58 2d 54 34 [X-T4]
3202370: 00 00 00 00 [....]
3202374: 00 00 00 00 [....]
3202378: 00 00 00 00 [....]
320237c: 00 00 00 00 [....]
3202380: 00 00 00 00 [....]
3202384: 00 00 00 00 [....]
3202388: 00 00 00 00 [....]
320238c: 30 31 32 30 [0120]
3202390: 00 00 00 00 [....]
3202394: 00 00 00 00 [....]
3202398: 00 00 00 00 [....]
320239c: 00 00 00 00 [....]
32023a0: 00 00 00 00 [....]
32023a4: 00 00 00 00 [....]
32023a8: 00 00 00 00 [....]
32023ac: 00 00 01 a0 [....]
32023b0: 00 00 56 60 [..V`]
32023b4: 00 00 58 00 [..X.]
32023b8: 01 ab 43 30 [..C0]
32023bc: 00 00 00 02 [....]
32023c0: 01 ab 43 30 [..C0]
32023c4: 00 00 00 00 [....]
32023c8: 00 00 00 00 [....]
32023cc: 00 00 00 00 [....]
32023d0: 00 00 00 00 [....]
32023d4: 00 00 00 00 [....]
32023d8: 00 00 00 00 [....]
32023dc: 00 00 00 00 [....]
32023e0: 00 00 00 00 [....]
32023e4: 00 00 00 00 [....]
32023e8: 00 00 00 00 [....]
32023ec: 00 00 00 00 [....]
32023f0: 00 00 00 00 [....]
32023f4: 00 00 00 00 [....]
32023f8: 00 00 00 00 [....]
32023fc: 00 00 00 00 [....]
3202400: 00 00 00 00 [....]
3202404: 00 00 00 00 [....]
3202408: 00 00 00 00 [....]
320240c: 00 00 00 00 [....]
3202410: 00 00 00 00 [....]
3202414: 00 00 00 00 [....]
3202418: 00 00 00 00 [....]
320241c: 00 00 00 00 [....]
3202420: 00 00 00 00 [....]
3202424: 00 00 00 00 [....]
3202428: 00 00 00 00 [....]
320242c: 00 00 00 00 [....]
3202430: 00 00 00 00 [....]
3202434: 00 00 00 00 [....]
3202438: 00 00 00 00 [....]
320243c: 00 00 00 00 [....]
3202440: 00 00 00 00 [....]
3202444: 00 00 00 00 [....]
3202448: 00 00 00 00 [....]
320244c: 00 00 00 00 [....]
3202450: 00 00 00 00 [....]
3202454: 00 00 00 00 [....]
3202458: 00 00 00 00 [....]
320245c: 00 00 00 00 [....]
3202460: 00 00 00 00 [....]
3202464: 00 00 00 00 [....]
3202468: 00 00 00 00 [....]
320246c: 00 00 00 00 [....]
3202470: 00 00 00 00 [....]
3202474: 00 00 00 00 [....]
3202478: 00 00 00 00 [....]
320247c: 00 00 00 00 [....]
3202480: 00 00 00 00 [....]
3202484: 00 00 00 00 [....]
3202488: 00 00 00 00 [....]
320248c: 00 00 00 00 [....]
3202490: 00 00 00 00 [....]
3202494: 00 00 00 00 [....]
3202498: 00 00 00 00 [....]
320249c: 00 00 00 00 [....]
32024a0: 00 00 00 00 [....]
32024a4: 00 00 00 00 [....]
32024a8: 00 00 00 00 [....]
32024ac: 00 00 00 00 [....]
32024b0: 00 00 00 00 [....]
32024b4: 00 00 00 00 [....]
32024b8: 00 00 00 00 [....]
32024bc: 00 00 00 00 [....]
32024c0: 00 00 00 00 [....]
32024c4: 00 00 00 00 [....]
32024c8: 00 00 00 00 [....]
32024cc: 00 00 00 00 [....]
32024d0: 00 00 00 00 [....]
32024d4: 00 00 00 00 [....]
32024d8: 00 00 00 00 [....]
32024dc: 00 00 00 00 [....]
32024e0: 00 00 00 00 [....]
32024e4: 00 00 00 00 [....]
32024e8: 00 00 00 00 [....]
32024ec: 00 00 00 00 [....]
32024f0: 00 00 00 0c [....]
32024f4: 01 00 00 04 [....]
32024f8: 10 56 18 f0 [.V..]
32024fc: 01 10 00 04 [....]
3202500: 00 0d 00 06 [....]
3202504: 01 11 00 04 [....]
3202508: 10 40 18 60 [.@.`]
320250c: 01 12 00 04 [....]
  • Phil

OK. I've got a working version of ExifTool that will write M-RAW RAF images. It has the ability to identify M-RAW files, and will return a FileType of "RAF (M-RAW)" and extract information from the M-RAW header for each embedded file (although the information is mostly unknown, so you must use the -u option).

This will be available in ExifTool 12.70 when it is released.

  • Phil

ExifTool 12.70 is now available