postprocess: Add sigmoidal contrast to imagemagick postprocessing

This commit is contained in:
Martijn Braam
2021-09-10 02:48:34 +02:00
parent c584583d29
commit 85819660a7

View File

@@ -73,8 +73,9 @@ if [ -n "$DCRAW" ]; then
if [ -n "$CONVERT" ]; if [ -n "$CONVERT" ];
then then
if [ "$CONVERT" = "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 else
# sadly sigmoidal contrast is not available in imagemagick
gm convert "$MAIN_PICTURE.$TIFF_EXT" -sharpen 0x1.0 "$TARGET_NAME.jpg" gm convert "$MAIN_PICTURE.$TIFF_EXT" -sharpen 0x1.0 "$TARGET_NAME.jpg"
fi fi