Sfoglia il codice sorgente

postprocess: Add sigmoidal contrast to imagemagick postprocessing

Martijn Braam 3 anni fa
parent
commit
85819660a7
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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