ExifTool Forum

ExifTool => Newbies => Topic started by: RalphDaub on June 04, 2024, 04:01:16 AM

Title: Error Editing/Overwriting the WB_RBLevels values
Post by: RalphDaub on June 04, 2024, 04:01:16 AM
Hi all! Very newbie here. I'm trying to change the WB_RBLevels value of photos.

One of my photos has the following black levels:

I want to change it to the following (change 512 to 508):

I tried the following commands:




Is there anything else I can try?

Ultimately, I will want to change this black value to ALL files in a directory. At that point, I imagine I can just use an asterisk instead of the filename?

Thanks in advance for any help!
Title: Re: Error Editing/Overwriting the WB_RBLevels values
Post by: RalphDaub on June 04, 2024, 09:27:14 PM
I also tried copying WB_RBLevels from FILE1.ORF to. FILE2.ORF with no luck:


It's odd that when I look at the WB_RBLevels values in the photo, it shows 4 numbers:
-Olympus:WB_RBLevels=464 512 256 256

But when I try to edit 4 values, it tells me it's too many, only 2 required.




Thanks so much for any help! Fixing this might be the missing piece of the puzzle to solve a dreaded hue flicker I'm getting in timelapses.
Title: Re: Error Editing/Overwriting the WB_RBLevels values
Post by: StarGeek on June 05, 2024, 09:59:42 AM
What version of exiftool are you using?
exiftool -ver

What kind of camera are you using?  Can you share a sample image?

According to the Olympus Tags Names page (https://exiftool.org/TagNames/Olympus.html), these tags are supposed to have two integer values, not four. But since camera companies refuse to be consistant, if this is a new camera model, they might have changed the format.

And it's extremely unusual to be getting a Nikon error if you are using Olympus files.
Title: Re: Error Editing/Overwriting the WB_RBLevels values
Post by: RalphDaub on June 05, 2024, 01:16:07 PM
The version command returned v12.85

The photos I was editing are from an Olympus OMD EM-1 mk2 (2016). I also checked photos from my "newer" OMD EM-1 mk3 (2020) and it also shows 4 values.

I also thought the Nikon error was unusual. 😅

Here are a few RAW files:


Thank you so much for looking into this with me! Please let me know if there's anything else I can look into, or provide to see what's happening.
Title: Re: Error Editing/Overwriting the WB_RBLevels values
Post by: StarGeek on June 05, 2024, 02:13:12 PM
There isn't really anything I can do, but this sets things up so that Phil has what he needs when he gets the chance to look at it.
Title: Re: Error Editing/Overwriting the WB_RBLevels values
Post by: RalphDaub on June 06, 2024, 02:21:52 PM
Either way, thank you for chiming in!

I'll share a summary below to make it easier for Phil to read! 🤞


SUMMARY OF ISSUE:
I'm trying to adjust the -WB_RBLevels value of RAW images but always get an error.  There are 4 values for that tag in the RAW file:
[Olympus]       WB_RBLevels                     : 464 512 256 256
Camera: Olympus OMD EM-1 mk3 and mk2
Computer: Macbook Pro M1 Sonoma
Exiftool version: 12.85
Files examples:


I tried the following commands:

Really hoping to fix these RAW files. Thanks in advance for any other suggestions!  ;D

QuoteHelp me, Obi-Wan Kenobi. You're my only hope.
Title: Re: Error Editing/Overwriting the WB_RBLevels values
Post by: Phil Harvey on June 06, 2024, 02:32:17 PM
The problem is that Olympus changed this tag from storing 2 values to storing 4.  I will change this in ExifTool 12.86 to accommodate 4 values, but I won't change the tag name which should presumably be something like WB_RBGGLevels for these models.

- Phil