Jump to content

Recommended Posts

Hi all. I have problems opening the RAF files of my X-E2.

I work on Ubuntu and since I have an old pc I cannot install the last RawTherapee version which reads these files.

So I've tried to download the RAW convertion program from Fuji website. I found the version for XP, I have XP, and installed. I was thinking about opening the RAF and saving it as TIFF to work it in RT, but when I try to open it I get a error message saying that file format is not supported.

Any clue?

Thank you.

Link to post
Share on other sites

You should probably have dcraw already installed on your Ubuntu system, if not or if your copy is outdated and cannot read the X-E2 files download it from here:

 

https://www.cybercom.net/~dcoffin/dcraw/

 

and compile following the instructions (should be pretty straightforward, basically just run "gcc -o dcraw -O4 dcraw.c -lm -DNODEPS").

 

At that point you will be able, via terminal, to run either one of the following commands (remember that these are case sensitive).

 

To develop a single file from RAF to TIFF (change FILENAME to the name of the file you want to process):

 

dcraw -H 0 -w -o 4 -q 3 -6 -T -m 10 FILENAME

 

To batch develop multiple files from RAF to TIFF (if your camera names the files not ".raf" but ".RAF" change this accordingly; DO NOT change "filename" to the name of your file with this command, because in this case is a variable so it should stay as it is!)

 

for filename in *.raf ; do dcraw -H 0 -w -o 4 -q 3 -6 -T "$filename" ; done

 

 

You will have to basically change two options, according the kind of results you're getting.

 

-H

 

This will control how dcraw treats the highlights. H0 is the default and it will work most of the times, without attempting highlight recovery. From H3 to H9 it will attempt to recover the highlights more and more. Sometime if you use H9 the image can be too dark, and you will have to add another option: "-b 5" to lighten it (actually, "-b" plus a number from 1 to 9, depending on how much you want to lighten that particular image; "-b 5" is a good starting point, though).

 

 

If you're curios about what the other options do, here is the rundown:

 

-H = like we saw, this controls the amount of highlight recovery

 

-w = this tells dcraw to use the white balance as measured by the camera

 

-o = with this one you can choose the color space of the output image; "4" is ProPhoto RGB (and you should really use this one), "2" is Adobe RGB and "1" is sRGB

 

-q = the kind of interpolation used; "1" is VNG, "2" PPG, "3" AHD; should you see strange, labyrinth-like patterns in the images you have the option to add "-f" to this voice to get rid of them

 

-6 = tells dcraw to output the image in 16 bits

 

-T = to have the software output the images in the TIFF format

 

-m = it will lower the color noise applying a median filter for an X number of steps (10 in my example, I found it to work pretty well) to the R-G and B-G channels

 

Hope this help.

Edited by addicted2light
Link to post
Share on other sites

Ach... thanx alot Addicted. I also tried the Fastpicture codecs, Bulldog, but it crashed everytime I've tried to install it. It must be that windows crap I hate.

And yes, I have dcraw. I'll try the procedure above.

Thanks again.

Link to post
Share on other sites

Ok back. It seems there's a problem. I copied the instructions above but when I tried to convert the file in the console I had a message saying "unexpected end of file".

 

dcraw will give you this rather unhelpful message when it doesn't support a particular camera yet. In your case it means only that you have an outdated version of dcraw, download and compile the latest one and it should be fine.

Link to post
Share on other sites

I downloaded the version on the page you linked above. It should be the last version. I checked in the software center and it also contains all the other packages like fujigreen, fujiturn and so on. Maybe I'd have to write the guy who made it to ask for clue.

Link to post
Share on other sites

Maybe I'd have to write the guy who made it to ask for clue.

 

At this point I guess you're right. I've always experienced that kind of error only with unsupported cameras, so I cannot be of much help if you're already running the latest version, sorry.

 

EDIT: my only doubt is, are you using the latest firmware with the X-E2? Because if you are, maybe it has altered the files so they are not anymore recognized by dcraw, like if indeed it was a new camera. If that's the case, you will have to wait for an update (but contact all the same the guy behind dcraw, he might ask for samples to speed up the process). 

Edited by addicted2light
Link to post
Share on other sites

Yes Addicted, I have the latest firmware, the 4.0. I've tried again to convert using basing options but I always have the same message, unexpected end of file. Then it says core dump created. I'll try to see what's going on.

Actually I used some Takumar lenses with an adapter but it shouldn't be the problem.

This is also the reason, beside the quality and "real" photography, why I carry one using "analog". Digital is consumerism at its max.

Link to post
Share on other sites

Yeah, it was good not having to worry about a new camera every other year...but I think we're getting there, if we're not already, even with digital. Besides, my wallet still hurts every time I had/have to buy film (I shoot still a bit af film as well).

 

Going back to your problem, meanwhile you could try using the free Adobe DNG converter.

Link to post
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Similar Content

  • Posts

    • I also use a Nikon to GFX Fringer and it works very well.  24mm f/1.8 vignettes so best used on 35mm mode.  50mm f/1.8 covers the entire frame very well with no issues and is a superb little lens. 105mm Sigma vignettes slightly but is perfectly usable. 300 f/4 likewise the 105.  I have a 70-200 f/20+.8 incoming to test so will report back but I'm expecting a little vignetting.  Even in 35mm mode the image is still 60MP and if you're prepared to manually crop and correct you can get 80-90 MP images.  I also have a C/Y to GFX adapter.  The 24mm Sigma Superwide vignettes strongly. Ditto 28-80 Zeiss Sonnar. 80-200 f/4 Sonnar is perfectly usable. All work fine as 35mm mode lenses.  I also have an M42 adapter which I tried with the Carl Zeiss Jena 135mm f/3.5 with good results. 
    • Thank you. I will research it.
    • Ahh, the infamous brick wall photos… 😀 According to internet lore, if the dng converter does not properly apply the corrections, you can have it apply custom profiles that should work for you. How to do that is waaaaaay outside of this comment’s scope, but there are plenty of sites listed in the search engines that step you through the processes. Best wishes.
    • Jerry Thank you very much. That is extremely helpful. It seems that the camera and the lens have the latest firmware update, so it appears that the corrections should be applied automatically. The lens arrived this afternoon and I took some quick test shots, in which the correct lens information appeared in the EXIF files, so that sounds good. I used Adobe DNG converter to convert the Raw (RAF) files, and then opened the DNG files and saved them in PSD format. However, with a beautiful, clear, cloudless blue sky, there were no lines near the edges to check if distortion had been corrected. Another day I plan to photograph a brick wall. Thank you for your help.
    • Typically you need to make sure the lens is compatible with the camera, i.e. check the lens compatibility charts for your camera, then make sure the respective firmwares are updated so older issues are resolved. After that, each lens has a manufacturer’s profile which will be embedded into the raw file meta data for the images captured using that lens. From there, it is up to the raw conversion software to apply the lens correction to the image. Different converters do that differently, some automatically, some only if a setting is turned on. For in-camera jpegs, the on-board converter does the corrections automatically, assuming the camera recognizes the lens, it applies a generic profile otherwise. I do not know if that can be turned off or not.
×
×
  • Create New...