Selaa lähdekoodia

postprocess: Add sigmoidal contrast to imagemagick postprocessing

Martijn Braam 3 vuotta sitten
vanhempi
commit
85819660a7
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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