Feature #12351

Limit output resolution/size from darkroom

Added by Christian Mandel 16 days ago.

Target version:
Start date:
Due date:
% Done:


Affected Version:
git master branch
hardware architecture:


When processing noisy images (e.g. ISO 6400), I do not export with full pixel count but limit to a reasonable size that hides the noise a bit. The same holds for slightly unsharp images. That way, the maximum usable image size, e.g. maximum print size, is given by the image resolution and limited such that the technical flaws are not visible for the people viewing the picture.

Unfortunately, the output size/resolution is determined in lighttable mode and therefore the image itself does not carry this information. When I export an old picture again, I maybe forget that it was a blurry shot and therefore it is sent out at e.g. full resolution. Furthermore, when processing a set of images, one always has to export one by one to account for the blurry/noisy shots. It would therefore be great if one could limit the resolution from within darkroom such that is cannot be overridden by the export module (smaller export would still be possible). A new module “limit output size” would be a reasonable way to implement this feature. Within the module, the output size limit could be selected as either (maybe a dropdown to choose among these)
  • absolute pixel numbers (input of two numbers, max. horizontal and vertical pixel count; dependent on the aspect ratio, one of the numbers wins, as in the export module),
  • megapixel count (input one number, e.g. 10M, and the closest smaller size that would match the aspect ratio is used), or
  • factor of the original size (e.g. “2” for downscaling to half the size; factor 2 would therefore mean quarter of the pixel count; or, instead, the factor of the pixel count to avoid the necessity of sqrt(2) input; or maybe both options).

The darkroom view would of course follow the limitation to have a reasonable preview. The module itself would also show the actual output size limit of the image.

Slightly related:

Also available in: Atom PDF