Can the crop module automatically apply crops from Fuji raw files

I have acquired a fuji camera, and I swear that if I shoot raw + jpeg and use a crop mode, like 1:1 or the xpan crop, that the camera will embed the crop data into the raw file and darktable will somehow automatically apply this in the crop module. I don’t know if its a lua addon or what. I swear I didn’t just invent this in my mind, yet I can’t find any reference to this feature.

Do I have a wild imagination and lost the ability to discern things I imagine from reality, or does this feature actually exist?

News to me…what model is the camera?

GFX 100S II. Also got the 55mm f1.7 and the 100-200mm f5.6

2 Likes

What?? Just casually slipping in there that you’ve got yourself a GFX…! Congrats! How are you liking it?

1 Like

Nice! I just went and looked at the manual, and it has a huge number of sizes/aspect ratios built in.

I can’t say I’ve seen any reference to automatically applying an aspect ratio to the raw file based on metadata. I think I would want to do that myself so I could tweak the location of the crop rather than DT automatically choosing.

I don’t know of this feature, but could it be the “Original image” setting in the Crop module? I don’t know if this takes the JPEG crop dimensions or just the standard aspect ratio that the camera produces (4:3 for GFX I think).

Yes, I guess so… I am lucky, I had some.thing go right, its my birthday and mix that in with some American tariff apprehension, and BAM, you buy yourself a gfx.

Thanks! Its very nice, its very heavy, the 55mm looks to be really nice, files are huge and awesome. Having 50mpix left after doing an xpan crop is sweet.

The menus and firmware are largely the same as recent X series cameras, it has all those Fuji quirks. I’m getting used to the metering a bit, even with the eternal film Sim and -2 shadows/highlights, seems I’m not quite ETTRing.

I’m looking forward to trying some pixelshift images… I think RT/ART can maybe processes them.

Its cool. I appreciate that Fuji moves slower on the gfx line, and I will probably acquire the 23mm f4 at some point and I think I’ll be set for lenses (or at least that’s what I’m telling myself for now).

Hoping to do some large prints. I have wallspace :slight_smile:

2 Likes

Yes! The cool thing is that it gives and overlay in the view finder, so you can compose for that aspect ratio, instead of just eyeballing it like I do on my Nikon. But, it only crops the jpeg, I have to shoot raw+jpeg, it does not crop the embedded jpeg in the raw file, nor does it crop the raw file.

I really like the overlay in the view finder, it makes compsing really nice.

It sort of seems like I just invented this feature in my mind… Some wishful thinking. I have been pretty out of it lately and working long hours.

We certainly have this for DNG files, DefaultUserCrop would be the exif tag to check. If you open the crop module for the first time or reset parameters it will be available.

1 Like

3 Likes

I’ve written a Lua script that reads a photo’s EXIF, and applies an appropriate style: GitHub - bastibe/Fujifilm-Auto-Settings-for-Darktable: Automatically apply Fujifilm film simulation LUTs, crop, and DR correction when importing images in Darktable

This can auto-apply a crop based on the in-camera crop setting.

1 Like

Ah, lovely! Thank you for your efforts.

And I’m glad that I just didn’t think this up out of thin air.

You’ll have to adapt it a bit to implement all the various crop modes. And the film simulation styles in the repo are not particularly good; I’m using a much better set now.

But the idea works, and it’s really nice for darktable to show the correct crop. Here’s a blog post I wrote about this a few years ago: Darktable for Fujifilm Cameras

2 Likes

Shouldn’t be an issue, I’ve been looking for a reason to learn some lua. I also need to write a reverse geocode to DT tags lua script :slight_smile:

Here’s one (or most of one) that I wrote several years ago and never finished.

geoToolbox_ng.zip (12.2 KB)

1 Like

@bastibe you say the crops are “not pixel perfect” but, at least for the GFX 100S II, it seems like all the crop modes are around the center line of the frame. Using the “margins” feature, couldn’t you get the crops pretty close to perfect as seen in the camera?

You can get it very close to perfect no problem. It’s just that the supplied presets in the repo are merely eyeballed, not measured.