comparison mgallery.inc.php @ 162:3c2674dbd185

Increase the generated mid- and thumbnail images JPEG quality slightly.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 01 Mar 2018 13:37:33 +0200
parents 458c2d6637b1
children f48336b0e6a1
comparison
equal deleted inserted replaced
161:458c2d6637b1 162:3c2674dbd185
88 "med_suffix" => [MG_STR, ".med"], 88 "med_suffix" => [MG_STR, ".med"],
89 "tn_path" => [MG_STR, "tn/"], 89 "tn_path" => [MG_STR, "tn/"],
90 90
91 "tn_width" => [MG_INT, 140], // In pixels, applies as bounding box for w/h 91 "tn_width" => [MG_INT, 140], // In pixels, applies as bounding box for w/h
92 "tn_height" => [MG_INT, 100], 92 "tn_height" => [MG_INT, 100],
93 "tn_quality" => [MG_INT, 77], // JPEG quality percent 93 "tn_quality" => [MG_INT, 85], // JPEG quality percent
94 94
95 "med_width" => [MG_INT, 960], 95 "med_width" => [MG_INT, 960],
96 "med_height" => [MG_INT, 640], 96 "med_height" => [MG_INT, 640],
97 "med_quality" => [MG_INT, 88], 97 "med_quality" => [MG_INT, 90],
98 ]; 98 ];
99 99
100 100
101 function mgDebug($msg) 101 function mgDebug($msg)
102 { 102 {