darktable-org / darktable-org/darktable

Dark line at top/side of photo

Open
#21,604 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug: pending priority: medium reproduce: confirmed scope: image processing
Dominant language
C
Stars
13.1k
Forks
1.4k
Avg merge
22h 14m
Merged PRs (30d)
198

Description

Is there an existing issue for this?
  • I checked and did not find my issue in the already reported ones
Describe the bug

In certain images, a dark line appears at the top/right side for vertical/horizontal photos, respectively.

Vertically oriented photo

.ORF raw opened in darktable, showing dark band at top
Image

SOOC jpg
Image

Horizontally oriented photo

.ORF raw opened in darktable, showing dark band at top SOOC jpg
!Image Image

Camera: Olympus OM-D EM5 Mark II
Lens: Olympus 12-40 mm f/2.8

Steps to reproduce
  1. Open photo in darkroom tab, do not apply any modules other than default
Expected behavior

darktable should not show a dark line at the border

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.6.0

What OS are you using?

Windows

What is the version of your OS?

Windows 11 Home

Describe your system

No response

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

AMD Radeon RX 9070 XT

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

Photos I used (jpgs and raws)
P7079112.zip
P7109532.zip

Lens correction does not completely hide the dark line, whether using embedded metadata or lensfun database.

The line appears in the exported photo.

The issue can be resolved by cropping every image with this issue, but this is tedious and not something I want in my workflow.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in darktable 5.6.0 on Windows 11 using the attached P7079112.zip and P7109532.zip files, opening the photos in the darkroom tab with default modules. Compare vertical and horizontal ORF and JPEG results with and without lens correction, and confirm that the dark border is absent from the exported photo when the issue is fixed.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
computer-graphics, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.