소스 검색

Added sharpening in post processing

Martijn Braam 4 년 전
부모
커밋
2eb486bf1d
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      postprocess.sh

+ 2 - 1
postprocess.sh

@@ -42,9 +42,10 @@ if [ -n "$DCRAW" ]; then
 	# -fbdd 1	Raw denoising with FBDD
 	$DCRAW +M -H 4 -o 1 -q 3 -T -fbdd 1 $BURST_DIR/1.dng
 
+	# If imagemagick is available, convert the tiff to jpeg and apply slight sharpening
 	if command -v convert &> /dev/null
 	then
-		convert "$BURST_DIR"/1.dng.tiff "$TARGET_NAME.jpg"
+		convert "$BURST_DIR"/1.dng.tiff -sharpen 0x1.0 "$TARGET_NAME.jpg"
 
 		# If exiftool is installed copy the exif data over from the tiff to the jpeg
 		# since imagemagick is stupid