Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac os | gamma shift in the image when exporting #11736

Closed
estaf1001 opened this issue May 6, 2022 · 11 comments
Closed

mac os | gamma shift in the image when exporting #11736

estaf1001 opened this issue May 6, 2022 · 11 comments

Comments

@estaf1001
Copy link

When I load any image into a program and save such an image in any of the graphic formats, in any other viewer the image looks with stronger contrast when compared to the picture in darktable.

  1. Download dmg image of app from https://www.darktable.org/install/
  2. Open dmg file and copy darktable app to Application folder.
  3. I open the system settings of the operating system and make sure that the monitor profile I created is correct.
  4. I don't open the conditional file in darktable yet (for the time being), but in programs such as Adobe Photoshop, Capture One and 3dlut creator. I save the file in tiff format from these programs. I compare the resulting image in the Preview.app program (the program comes out of the box for mac os). When comparing the open image in these different programs, I see no difference. The display is identical in any of its.
  5. rm -rf ~/.config/darktable (For the purity of the experiment)
  6. open Darktable app
  7. I load the same file into darktable and save it as a tiff, without doing any additional manual manipulation of the image.
  8. I open the saved image from the program in the same preview program and see that in the preview.app it looks more contrasty. This point is clearly visible in the shadows - they simply fail.

A screen of problem here: https://discuss.pixls.us/t/darktable-on-macos-are-there-bugs-with-icc-profiles/28930/28

  • darktable version : 3.8.1
  • OS : MacOS Big Sur 11.6.5
  • Memory : 32 GB ddr3/non ecc.
  • Graphics card : AMD HD 7970 (Tahiti)
  • Graphics driver : don't know.
  • OpenCL installed : yes (Tested under Davinci Resolve)
  • OpenCL activated : yes (Tested under Davinci Resolve)
  • Xorg : none
  • Desktop : native Finder environment
  • GTK+ : don't know (install from binary one - static one)
  • gcc : don't know (install from binary one - static one)
  • cflags : don't know (install from binary one - static one)
@parafin
Copy link
Member

parafin commented May 6, 2022

Can't reproduce.

Does the image look already wrong when imported to darktable, before exporting?

Is the problem reproducible if you choose sRGB as monitor color profile in system settings?

In what format is the input image? Is it JPEG/TIFF or some RAW format? Maybe you could upload somewhere an example image.

@estaf1001
Copy link
Author

estaf1001 commented May 6, 2022

Can't reproduce.

Does the image look already wrong when imported to darktable, before exporting?

yes. By the way the same problem!

Is the problem reproducible if you choose sRGB as monitor color profile in system settings?

yes - the same story.

In what format is the input image? Is it JPEG/TIFF or some RAW format? Maybe you could upload somewhere an example image.

I had loaded either raw (dng from my canon) or any other file. The situation repeats itself.

86d48da4f8c7f771aa99eee30d278a1956db2116

raw one https://drive.google.com/file/d/1-pCyZW96gfU8ttA22XZ2bHbL65TP9VSs/view?usp=sharing

@parafin
Copy link
Member

parafin commented May 6, 2022

It's not a bug that raw pictures look differently in different editors, they are just processed differently. If you for example export this picture as TIFF and then use it as the test source, then it will look the same everywhere (e.g. in Preview, in dt darkroom view, after dt export), because in case of already processed image like TIFF or JPEG there's no processing by default. For raw it's not the case. Closing as not a bug.

@parafin parafin closed this as completed May 6, 2022
@estaf1001
Copy link
Author

estaf1001 commented May 6, 2022

I can import a tiff (not raw) file and get the same result when exporting it.
2022-05-06-14-26-14
Close it - your right.

@kofa73
Copy link
Contributor

kofa73 commented May 6, 2022

darktable 3.9.0+1228~gcfb6a8cbf on Windows 10, showing DNG vs re-imported TIFF:
image

The TIFF file was exported as sRGB. Note the patter on the arm/shoulder of the dress.
Exporting at full size does not matter. When scaling down, the 'high-quality resampling' setting does not matter. The setting 'always use LittleCMS2 to apply output profile' does not matter.

I cannot decide if this is the same issue or not, though.

XMP (sorry, crazy settings!) attached as TXT to satisfy GitHub.
_MG_6068.dng.xmp.txt

@parafin
Copy link
Member

parafin commented May 6, 2022

Please create a new bug report.

@kofa73
Copy link
Contributor

kofa73 commented May 6, 2022

Why is a new report needed? If I understand correctly, @estaf1001 was complaining about the same thing: the exported TIFF is different from the darkroom view:

  1. I load the same file into darktable and save it as a tiff, without doing any additional manual manipulation of the image.
  2. I open the saved image from the program in the same preview program and see that in the preview.app it looks more contrasty.

When he did the same comparison in Adobe Photoshop, Capture One (viewing the raw in those and viewing the corresponding TIFF export in the preview app), there was no difference. @estaf1001 , please confirm if my interpretation is correct.

@parafin
Copy link
Member

parafin commented May 6, 2022

No, this report was about viewing and exporting raw image from darktable, not tiff

@estaf1001
Copy link
Author

No, this report was about viewing and exporting raw image from darktable, not tiff

#11736 (comment)
"When I load any image into a program and save such an image in any of the graphic formats, in any other viewer the image looks with stronger contrast when compared to the picture in darktable."

"When I load any image..."

"..any image".

@parafin
Copy link
Member

parafin commented May 7, 2022

read next comments. this is my last reply at this closed bug report, please create a new one with clear reproduction steps. raw and tiff/jpeg are very different cases, choose one specific.

@estaf1001
Copy link
Author

read next comments. this is my last reply at this closed bug report, please create a new one with clear reproduction steps. raw and tiff/jpeg are very different cases, choose one specific.

Got it. Okay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants