Main Menu

Fuji RAF size

Started by Alan Clifford, January 14, 2013, 02:45:35 PM

Previous topic - Next topic

Alan Clifford

Hi Phil.

I thought I'd have a go with raw files with my Fuji HS30.

I'm getting some numbers I don't understand from the raw RAF file.  The converted jpeg size is as expected but I am seeing four sizes for the RAF file.

First, the Silkypix raw file converter. Looking at their exif display for a raw file  I see:

width 3248 height 2436

I go into "development" and it tells me that the original is

4608 x 3456

and that it will produce a jpeg of that size and notes it is 100%.

Then exiftool gives me, for the RAF and the jpeg

exiftool DSCF0165*  -a -G1 -s -imagesize -RawImageFull*
======== DSCF0165.RAF
[Composite]     ImageSize                       : 2048x1536
[RAF]           RawImageFullSize                : 3328x2464
[FujiIFD]       RawImageFullWidth               : 3328
[FujiIFD]       RawImageFullHeight              : 2464
[RAF2]          RawImageFullSize                : 3328x2464
[FujiIFD2]      RawImageFullWidth               : 3328
[FujiIFD2]      RawImageFullHeight              : 2464
======== DSCF0165.jpg
[Composite]     ImageSize                       : 4608x3456
    2 image files read


Phil Harvey

#1
Hi Alan,

First, let me say that extracting the dimensions of a FujiFilm RAF image is not simple.

Second, I should note for anyone else reading this thread that the X-E1 image dimensions are not reported correctly by ExifTool 9.13.  This will be fixed in 9.14.

And now on to your question...

When I develop a HS30 RAF image in Adobe LightRoom, it gives me a 4608x3456 pixel image (same your Silkypix-developed image).

However, when I use "dcraw -i -v", I get this:

Thumb size:  2048 x 1536
Full size:   3328 x 2464
Image size:  3262 x 2464
Output size: 3262 x 2464

And dcraw generates a 3262x2464 developed image, as it stated in the "-i -v" output.

ExifTool uses dcraw's technique to determine the size of RAF images.  For historical reasons, the  "ImageSize" ExifTool reports is that of the embedded JPEG (same as dcraw's "Thumb size").

So I agree with you that there is something funny going on, but I don't understand what.

I have sent an email to David Coffin (dcraw author) to see if he knows what is happening.

- Phil

Edit: Fixed a couple of typos
...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 ($).

Alan Clifford

Phil, I don't know how you maintain your sanity dealing with this stuff!

Phil Harvey

Quote from: Alan Clifford on January 14, 2013, 03:59:26 PM
Phil, I don't know how you maintain your sanity dealing with this stuff!

You're making some assumptions here that may not be true... ;)

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