Project

General

Profile

Bug #10738

Some exported images completely black

Added by Kristian Niemi over 3 years ago. Updated over 3 years ago.

Status:
Fixed
Priority:
Low
Assignee:
Category:
Darkroom
Start date:
11/24/2015
Due date:
% Done:

100%

Affected Version:
git development version
System:
other GNU/Linux
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Using a current build of dev-darktable, on export, I currently sometimes get completely black images. Not always, but sometimes. It is not limited to camera, exposure, or some such.

I do not know how to reproduce it --- but it does seem that opening the image in darktable and changing (for instance) cropping slightly at times solves the problem. At times not.

I've exported far larger images without a problem, and it's not about cropping the image into something smaller (that sometimes solves it), but changing the crop --- as in moving it, enlargening it or whatever.

I uninstalled darktable, removed local cache, and rebuilt it (git version 2.0rc2+40~g0d208c2-dirty).

Still same (bad) result.

Exporting file 151101_173549_Assi_ghat_01.NEF.xmp results in the black image "151101_173549_Assi_ghat_01.jpg".

I duplicated the image in darktable, and only changed area of crop --- moved the box; size is identical. And it (151101_173549_Assi_ghat_02.NEF.xmp) resulted in a "image with features" ("151101_173549_Assi_ghat_02.jpg"). Made no other changes. (Is it the cropping module that is at fault?)

The same results are reproduced each and every time I export these two images (01.NEF.xmp and 02.NEF.xmp).

From a batch of about 200 images, I've gotten this result (black image) in circa 10. I've yet to see a pattern why it happens to some, not others. (Which makes it all the more annoying.)

As NEF exceeds 39.1MB it is available here: https://www.dropbox.com/sh/4bzqme4zb4ftv2o/AAAkzzI8zQ6CQybWmgt9PXpRa?dl=0

151101_173549_Assi_ghat_01.NEF.xmp - xmp which results in black image (5.83 KB) Kristian Niemi, 11/24/2015 08:49 PM

darktable__debug-151124_1810 - darktable -d all (on export) (232 KB) Kristian Niemi, 11/24/2015 08:49 PM

151101_173549_Assi_ghat_02.NEF.xmp - xmp which results in good image (5.83 KB) Kristian Niemi, 11/24/2015 08:50 PM

Associated revisions

Revision 8f02be02
Added by Roman Lebedev over 3 years ago

Exposure iop: compute_correction(): IEEE 754. Fixes #10738.

total = 100663569 and d->deflicker_percentile = 100.0f
Result in thr = 100663576.000000
Which is bigger than total, so we never find bin.

History

#1 Updated by Roman Lebedev over 3 years ago

  • % Done changed from 0 to 20
  • Assignee set to Roman Lebedev
  • Status changed from New to Triaged

Nice catch!

#2 Updated by Roman Lebedev over 3 years ago

  • % Done changed from 20 to 100
  • Status changed from Triaged to Fixed

Also available in: Atom PDF