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
No known key found for this signature in database
GPG Key ID: C4280ACB000B060F
1 changed files with 2 additions and 1 deletions

View File

@ -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