瀏覽代碼

postprocess: Add sigmoidal contrast to imagemagick postprocessing

Martijn Braam 3 年之前
父節點
當前提交
85819660a7
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      data/postprocess.sh

+ 2 - 1
data/postprocess.sh

@@ -73,8 +73,9 @@ if [ -n "$DCRAW" ]; then
 	if [ -n "$CONVERT" ];
 	then
 		if [ "$CONVERT" = "convert" ]; then
-			convert "$MAIN_PICTURE.$TIFF_EXT" -sharpen 0x1.0 "$TARGET_NAME.jpg"
+			convert "$MAIN_PICTURE.$TIFF_EXT" -sharpen 0x1.0 -sigmoidal-contrast 6,50% "$TARGET_NAME.jpg"
 		else
+			# sadly sigmoidal contrast is not available in imagemagick
 			gm convert "$MAIN_PICTURE.$TIFF_EXT" -sharpen 0x1.0 "$TARGET_NAME.jpg"
 		fi