From 1025cfe8c1af14d66e1886b1a1f51d4f5794c77c Mon Sep 17 00:00:00 2001 From: Martijn Braam Date: Tue, 22 Dec 2020 15:27:37 +0100 Subject: [PATCH] Drop support for HDR+ stacker The current HDR stacker is incredibly buggy and was only added so it can be quickly be tested by building/installing it locally. Some distributions have actually packaged this buggy mess and made it a dependency of megapixes meaning the whole experience is broken for users. This drops support for trying to use stack_frames by default so hdr-plus being installed for users doesn't break/corrupt photos. --- postprocess.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/postprocess.sh b/postprocess.sh index 455f795..02bcac4 100755 --- a/postprocess.sh +++ b/postprocess.sh @@ -24,14 +24,6 @@ MAIN_PICTURE="$BURST_DIR"/1 # Copy the first frame of the burst as the raw photo cp "$BURST_DIR"/1.dng "$TARGET_NAME.dng" -# Use stack_frames to merge the burst if available -if command -v "stack_frames" > /dev/null -then - stack_frames / "$BURST_DIR"/stacked.dng "$BURST_DIR"/*.dng - cp "$BURST_DIR"/stacked.dng "$TARGET_NAME.stacked.dng" - MAIN_PICTURE="$BURST_DIR"/stacked -fi - # Create a .jpg if raw processing tools are installed DCRAW="" TIFF_EXT="dng.tiff"