Skip to content
Snippets Groups Projects
Commit b04e5044 authored by Toke Eskildsen's avatar Toke Eskildsen
Browse files

Changes default presentation JPEG quality to 95

parent be673def
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ SETTINGS="presentation.settings"
# no intensities > 240.
# Quality is for JPEG output. This needs to be quite high as JPEG artifacts are
# very visible with tiny text.
DEFAULT_COMMANDS="-geometry 50%x> -unsharp 0.8x0.1+0.8+2.0 -level 10,1.0,245 -quality 90"
DEFAULT_COMMANDS="-geometry 50%x> -unsharp 0.8x0.1+0.8+2.0 -level 10,1.0,245 -quality 95"
# Input: source
# Output: COMMANDS (GraphicsMagick options)
......@@ -26,13 +26,13 @@ function get_commands() {
if [ "." != ".`echo \"$SOURCE\" | grep -o inesta`" ]; then
# This provider has very dark scans with no intensities > 240
COMMANDS="-geometry 50%x> -unsharp 0.8x0.1+0.8+2.0 -level 0,1.0,220 -quality 90"
COMMANDS="-geometry 50%x> -unsharp 0.8x0.1+0.8+2.0 -level 0,1.0,220 -quality 95"
return
fi
if [ "." != ".`echo \"$SOURCE\" | grep -o pex`" ]; then
# This provider has scans practically without any blown high- or low-lights
# Input is 400 DPI so we need to scale a bit more to reach ~150DPI
COMMANDS="-geometry 38%x> -unsharp 0.8x0.1+0.8+2.0 -level 30,0.8,240 -quality 90"
COMMANDS="-geometry 38%x> -unsharp 0.8x0.1+0.8+2.0 -level 30,0.8,240 -quality 95"
return
fi
COMMANDS="$DEFAULT_COMMANDS"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment