~martijnbraam/megapixels

85819660a749f3e80638d0475fc7925893c480bd — Martijn Braam 11 months ago c584583
postprocess: Add sigmoidal contrast to imagemagick postprocessing
1 files changed, 2 insertions(+), 1 deletions(-)

M data/postprocess.sh
M data/postprocess.sh => data/postprocess.sh +2 -1
@@ 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